write the plugin. code of site I see that he turns to the window.top.minimap, but under plugin I have no access to it.
For example if you write in the plugin "console.log(window)" gives not the same in the console "console.log(window)". in the first case gives, as I understand it, the plugin window and the second window of the website. how do I get the window of the site and therefore to all the variables, in particular the minimap?