Question about Greasemonkey
|
|
It's not really a big deal, but is there a way to show the script used in a frame of a page you're on? Ex: I go to site.com.
Is it possible to show if a script is working in a frame, and if so, how can I? |
|
|
if(top.location != location){ // anti-frame
return
};
|
|
|
GreaseMonkey shows only the scripts that apply to your main page, but scripts that apply to any sub-frame are executed (I tested it with <iframes>).</iframes> |
|
|
More like if (top != self) top.location = self.location
|
|
|
I do know how to break out of frames, thank you. That was not the question. I know scripts that apply to pages in frames still work, I was wondering if it was possible to show if they're being used by right clicking on the GM icon. At the moment, it will only display scripts being used on the main page, and I was wondering if there's a way I can edit it to show it regardless if the page is in a frame. |
|
|
I believe that's not possible. |
