| issues.adblockplus.org module | Issue tracker |
|---|---|
| Platform | adblockpluschrome |
| User-Interface | adblockplusui |
| Core | adblockpluscore |
| Automation | buildtools [eyeo-coding-style](ht |
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
| "use strict"; | |
| let fs = require("fs"); | |
| if (process.argv.length != 3) | |
| { | |
| console.log("Usage: nodejs strip.js filename.json"); | |
| process.exit(1); | |
| } | |
| let filename = process.argv[2]; |
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
| function logEvent(type, details) | |
| { | |
| if (details.url.startsWith("blob")) | |
| console.log(type, details); | |
| } | |
| /* WebNavigation */ | |
| chrome.webNavigation.onBeforeNavigate.addListener(details => | |
| { | |
| logEvent("onBeforeNavigate", details); |
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
| diff --git a/messageResponder.js b/messageResponder.js | |
| index 65e91ea..7ed00c7 100644 | |
| --- a/messageResponder.js | |
| +++ b/messageResponder.js | |
| @@ -21,8 +21,6 @@ | |
| (function(global) | |
| { | |
| - let ext = global.ext || require("ext_background"); | |
| - |
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
| diff --git a/localeTools.py b/localeTools.py | |
| index 140f22c..f80a187 100644 | |
| --- a/localeTools.py | |
| +++ b/localeTools.py | |
| @@ -299,7 +299,7 @@ def setupTranslations(localeConfig, projectName, key): | |
| allowed = set() | |
| allowedLocales = json.load(urllib2.urlopen( | |
| 'https://crowdin.com/languages/languages_list?callback=' | |
| - )) | |
| + ))['data'] |
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
| import random | |
| def foo(b={}): | |
| b[random.random()] = "bar" | |
| print b | |
| for i in range(10): | |
| print "Iteration " + str(i + 1) | |
| foo() |
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
| // First these two lines | |
| let manifest = browser.runtime.getManifest(); | |
| browser.extension.getURL(manifest.options_page || manifest.options_ui.page); | |
| // Then this one | |
| browser.tabs.query({}, tabs => { console.log(JSON.stringify(tabs)); }) | |
| // Then this | |
| browser.runtime.openOptionsPage |
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
| function openDB(dbName) | |
| { | |
| let req = indexedDB.open(dbName); | |
| req.onsuccess = event => | |
| { | |
| console.log("version::", event.currentTarget.result.version); | |
| console.log("store names::", JSON.stringify(event.currentTarget.result.objectStoreNames)); | |
| }; |
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
| { | |
| "sheweed168": [ | |
| "https:\/\/issues.adblockplus.org\/ticket\/536#comment:20" | |
| ], | |
| "impulsepp": [ | |
| "https:\/\/issues.adblockplus.org\/ticket\/536#comment:19", | |
| "https:\/\/issues.adblockplus.org\/ticket\/2501#comment:6", | |
| "https:\/\/issues.adblockplus.org\/ticket\/1460#comment:26", | |
| "https:\/\/issues.adblockplus.org\/ticket\/1095#comment:6", | |
| "https:\/\/issues.adblockplus.org\/ticket\/553#comment:26", |
OlderNewer