User contributions for Marti
From GreaseSpot Wiki
Jump to navigationJump to search
10 March 2009
- 00:5200:52, 10 March 2009 diff hist +1,377 m Metadata Block →Examples: Added knowing your own metadata example... seems to be cropping up a lot.
9 March 2009
- 22:2622:26, 9 March 2009 diff hist +68 m Metadata Block →Description: Added anywhere in script but usually at the top.
- 22:0722:07, 9 March 2009 diff hist +21 m Metadata Block →@licence: Reinserted alternate spelling of license, that Oliver removed... @Oliver... Please do not remove this again.
5 March 2009
- 12:3012:30, 5 March 2009 diff hist +6 m UnsafeWindow →Attach Method 2: Reinserted missing code tag... will recheck this on system after sleep... also new update of ff as well.
23 February 2009
- 08:4708:47, 23 February 2009 diff hist +406 Talk:UnsafeWindow Suggestions needed from another developer.
- 08:3408:34, 23 February 2009 diff hist +328 UnsafeWindow →Attach Method 2: Note FAILURE: tried separate hello-injecting.user.js; combined init() into hello-world.user.js; hello-injecting.js in existing html page; Appears to be location hack failure
- 05:5805:58, 23 February 2009 diff hist −125 m UnsafeWindow →Attach Method 2: order reverse on script injection... also doesn't need unwrap... prolly doesn't need anonymous function wrapper either... This example seems to only work on same domain injection
- 04:2404:24, 23 February 2009 diff hist +283 Nm Talk:GM xhr @Photodeus current
- 00:1900:19, 23 February 2009 diff hist 0 m UnsafeWindow →Examples: ' to "
- 00:1800:18, 23 February 2009 diff hist +47 m UnsafeWindow →Attach Method 2: script var missing MIME type... added
- 00:1400:14, 23 February 2009 diff hist +12 m UnsafeWindow →Events: ... replaced with →some code
22 February 2009
- 23:5423:54, 22 February 2009 diff hist +1 m UnsafeWindow →Examples: whitespace... time 4 a break
- 23:4123:41, 22 February 2009 diff hist −2 m UnsafeWindow →Attach Method 2: Syntax error corrected... No parens around false in addEventListener
- 23:3823:38, 22 February 2009 diff hist +10 m UnsafeWindow →Attach Method 2: "tut" changed to "Hello, world!" since this is what this example is.
- 23:2323:23, 22 February 2009 diff hist 0 m UnsafeWindow →Examples: Revert double to single quotes (oops heh)
- 23:2123:21, 22 February 2009 diff hist +2 m UnsafeWindow →Examples: White space treatement and shortened var to xhr... single quotes to double quote for syntax coloring apps
- 23:1223:12, 22 February 2009 diff hist −8 m UnsafeWindow →Attach Method 1: "some code" used instead of "blah"
- 22:5922:59, 22 February 2009 diff hist −6 m UnsafeWindow →Attach Method 1: Tabs to spaces set to 2
- 22:5722:57, 22 February 2009 diff hist −13 m UnsafeWindow →Attach Method 2: Shorthand property since values are now all the same for CSS code.
- 22:5422:54, 22 February 2009 diff hist −8 m UnsafeWindow →Attach Method 2: px not necessary on zero'd css items
- 22:5122:51, 22 February 2009 diff hist −31 m UnsafeWindow →Attach Method 2: injected CSS example changed to remove dupe of margin-right... FF doesn't have the same issues with triggering events as IE has... more pleasing numericals too
- 22:3722:37, 22 February 2009 diff hist +10 m UnsafeWindow →Attach Method 2: GM scripts use *.user.js... applying to comments
- 22:1822:18, 22 February 2009 diff hist −970 m UnsafeWindow →Attach Method 2: Simplified comment structure to appropriate syntax
- 22:0022:00, 22 February 2009 diff hist +6 m GM.xmlHttpRequest →Event Handler Callbacks: swapped nothing to JavaScript syntax
- 21:5021:50, 22 February 2009 diff hist −1 m UnsafeWindow →Attach Method 2: typo
- 21:3921:39, 22 February 2009 diff hist +10 m UnsafeWindow →Attach Method 2: Multiple declaration of script var removed
- 20:5520:55, 22 February 2009 diff hist −16 m UnsafeWindow →Attach Method 2: Code opt
- 20:4520:45, 22 February 2009 diff hist +14 m UnsafeWindow →Attach script to page: Changed method headers to include Attach for history ease.
- 20:3420:34, 22 February 2009 diff hist +5 m UnsafeWindow →Method 1: White space treatment
- 20:3120:31, 22 February 2009 diff hist +110 m UnsafeWindow →Attach script to page: top/back anchors added
- 20:2920:29, 22 February 2009 diff hist +53 m UnsafeWindow →Alternatives to unsafeWindow: dynamic TOC updated for attach scripts
- 20:2520:25, 22 February 2009 diff hist +4 m UnsafeWindow →Method 2: More white space treatment
- 20:1920:19, 22 February 2009 diff hist +125 m UnsafeWindow →Method 2: ToDo note about metadata block
- 20:1620:16, 22 February 2009 diff hist +1 m UnsafeWindow →Method 2: A little more white space treatment
- 20:0820:08, 22 February 2009 diff hist −3 m UnsafeWindow →Method 2: Some white space treatment
- 20:0620:06, 22 February 2009 diff hist +10 m UnsafeWindow →Method 2: Squeezed comment block into 1024px width max
- 20:0220:02, 22 February 2009 diff hist +1 m UnsafeWindow →Method 2: Missing ;
- 20:0020:00, 22 February 2009 diff hist +2 m UnsafeWindow →Method 2: +
- 19:5919:59, 22 February 2009 diff hist +29 m UnsafeWindow →Method 2: Cleaned up final line continuation and JavaScript standard continuation.
- 19:5419:54, 22 February 2009 diff hist −1 m UnsafeWindow →Method 2: Missed a closing bracket and removed some non-JavaScript compliant line continuation characters... this still leaves the stray apostrophe in original code.
- 19:5019:50, 22 February 2009 diff hist −13 m UnsafeWindow →Method 2: More tweaking
- 19:4519:45, 22 February 2009 diff hist −49 m UnsafeWindow →Method 2: Standardized code as much as I could... appears there is an error towards the end... line continuation chars don't exist in JavaScript as far as I have found and extra ' in there.
- 19:3119:31, 22 February 2009 diff hist +43 m UnsafeWindow Changed header levels and comment for filenames... <code><pre> blocks usually indicate separate files
- 07:2307:23, 22 February 2009 diff hist +38 m Metadata Block internal wiki links
- 04:4204:42, 22 February 2009 diff hist −24 m Code snippets →Use jQuery in a GreaseMonkey script: jQuery example updated with semi-dynamic uri
- 04:2304:23, 22 February 2009 diff hist −80 m Links →User scripts: dunck.us unreachable... removed
21 February 2009
- 23:5723:57, 21 February 2009 diff hist +1 m Metadata Block →Examples: followed DNS alias as well
- 23:5623:56, 21 February 2009 diff hist −25 m Metadata Block →Examples: jQuery example updated with semi-dynamic uri's as well as generic namespace mod
20 February 2009
- 22:5222:52, 20 February 2009 diff hist +2 m GM.registerMenuCommand →Syntax: swap to JavaScript return type
- 22:5222:52, 20 February 2009 diff hist +2 m GM.openInTab →Syntax: swap to JavaScript return type