This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Set window.load and window.show so that the child iframe element can access those functions. | |
| window.load = load; | |
| window.show = show; | |
| //Convert all links to preload on hover. | |
| [...document.querySelectorAll("a")].forEach((a) => { | |
| a.addEventListener("click", (e) => { | |
| e.preventDefault(); | |
| show(a.href); | |
| }); | |
| a.addEventListener("mouseenter", (e) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //META{"name":"Example"}*// | |
| class Example { | |
| // Constructor | |
| constructor() { | |
| this.initialized = false; | |
| } | |
| // Meta | |
| getName() { return "Example"; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>PayloadContent</key> | |
| <array> | |
| <!-- Home: Manual --> | |
| <dict> | |
| <key>UserDefinedName</key> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "SyncExtension", | |
| "version": "0.1", | |
| "manifest_version": 2, | |
| "description": "Storage Sync Extension", | |
| "permissions": [ "storage" ], | |
| "browser_action": { |