Talk:Location hack
From GreaseSpot Wiki
GM_eval vs. eval(s, unsafeWindow) vs. LocationHack
GM_eval()
will not be implemented.
- The second argument of eval was removed.
- Running
eval()
in chrome scope is a very dangerous thing to do. - I'm not confident that it actually worked to solve the problems that the location hack does. (I'm confident that it does not, on FF 3.0.13 on Linux. Perhaps it did in older versions, before it was removed.)
Location Hack Broken
-Removed-
Fromp: You are confused about what the location hack is supposed to accomplish. It's for letting a user script call into a function (for example) defined in the page. Your example which I just removed was doing the opposite. As written that example should never have worked. Arantius 12:41, 16 September 2009 (EDT)