I have a chrome extension that consists of a custom document that has been packaged so that Chrome users donβt have to worry about Tampermonkey.
The page on which the script is executed consists of several frames, for example, if you go to the /game.php site, the page consists of three frames:
- game.php
- menu.php
- msgframe.php
- main.php
In Firefox and earlier in Chrome, I could add "main.php" to include globs, and my script will run on this frame whenever I load game.php at the top level. However, in the latest version (Chrome 27.0.1453.93 m) I can run the script at the top level of "game.php". The browser does not even try to start any of the frames. I suspect this is part of the same set of security improvements that removed the "unsafeWindow" hack .
Is there a way to get Chrome to actually pay attention to my include_globs in the manifest again, or do I really need to change the script so that I spend time inside game.php checking all the frames and seeing which one is the one I want to run?
game.php doesnβt always have the same frames, the URLs vary depending on where the user clicks, so I have to check each one to find out where I was and what overhead I would prefer to avoid.
thanks
Edit: This error seems to be related
source share