Talk:Security tips: Difference between revisions

From GreaseSpot Wiki
Jump to navigationJump to search
No edit summary
 
Ldrhcp (talk | contribs)
voted -1
Line 1: Line 1:
I propose un-doing [http://wiki.greasespot.net/index.php?title=Security_tips&curid=1532&diff=1752&oldid=1751&rcid=254 this revision].  GreaseMonkey scripts always have a wrapper function. See [http://greasemonkey.devjavu.com/projects/greasemonkey/browser/trunk/src/components/greasemonkey.js greasemonkey.js] line 250.
I propose un-doing [http://wiki.greasespot.net/index.php?title=Security_tips&curid=1532&diff=1752&oldid=1751&rcid=254 this revision].  GreaseMonkey scripts always have a wrapper function. See [http://greasemonkey.devjavu.com/projects/greasemonkey/browser/trunk/src/components/greasemonkey.js greasemonkey.js] line 250.
[[User:Arantius|Arantius]] 15:26, 15 March 2007 (EDT)
[[User:Arantius|Arantius]] 15:26, 15 March 2007 (EDT)
----
 
: -1. The fact that Greasemonkey wraps scripts in an anonymous function is an irrelevant arcanum. <code>return</code> outside a function, even though it eventually ends up inside a function, is unclear. --[[User:Ldrhcp|Ldrhcp]] 18:16, 15 March 2007 (EDT)

Revision as of 22:16, 15 March 2007

I propose un-doing this revision. GreaseMonkey scripts always have a wrapper function. See greasemonkey.js line 250. Arantius 15:26, 15 March 2007 (EDT)

-1. The fact that Greasemonkey wraps scripts in an anonymous function is an irrelevant arcanum. return outside a function, even though it eventually ends up inside a function, is unclear. --Ldrhcp 18:16, 15 March 2007 (EDT)