Talk:Location hack: Difference between revisions
From GreaseSpot Wiki
Jump to navigationJump to search
→LeBron James shoes: new section |
m Reverted edits by 117.40.196.156 (Talk) to last revision by Arantius |
||
Line 16: | Line 16: | ||
As written that example should never have worked. | As written that example should never have worked. | ||
[[User:Arantius|Arantius]] 12:41, 16 September 2009 (EDT) | [[User:Arantius|Arantius]] 12:41, 16 September 2009 (EDT) | ||
Revision as of 00:58, 21 April 2010
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)