update fix the case for onUpdated listeners
This commit is contained in:
4
Makefile
4
Makefile
@@ -201,10 +201,10 @@ getxpi:
|
||||
|
||||
torrent: getxpi
|
||||
rm -f "./i2ppb-$(VERSION)@eyedeekay.github.io.xpi.torrent"
|
||||
mktorrent -a http://zviyq72xcmjupynn5y2f5qa3u7bxyu34jnqmwt6czte2l7idxm7q.b32.i2p/announce \
|
||||
mktorrent -a http://w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p/a \
|
||||
-a http://zviyq72xcmjupynn5y2f5qa3u7bxyu34jnqmwt6czte2l7idxm7q.b32.i2p/announce \
|
||||
-a http://s5ikrdyjwbcgxmqetxb3nyheizftms7euacuub2hic7defkh3xhq.b32.i2p/a \
|
||||
-a http://uajd4nctepxpac4c4bdyrdw7qvja2a5u3x25otfhkptcjgd53ioq.b32.i2p/announce \
|
||||
-a http://w7tpbzncbcocrqtwwm3nezhnnsw4ozadvi2hmvzdhrqzfxfum7wa.b32.i2p/a \
|
||||
-a http://explodie.org:6969/announce \
|
||||
-a http://tracker.opentrackr.org:1337/announce \
|
||||
-a http://tracker.kamigami.org:2710/announce \
|
||||
|
||||
2
proxy.js
2
proxy.js
@@ -113,7 +113,7 @@ var handleContextProxyRequest = async function(requestDetails) {
|
||||
};
|
||||
var tabGet = async function(tabId) {
|
||||
try {
|
||||
//console.log("(proxy)Tab ID from Request", tabId);
|
||||
console.log("(proxy)Tab ID from Request", tabId);
|
||||
let tabInfo = await browser.tabs.get(tabId);
|
||||
return tabInfo;
|
||||
} catch (error) {
|
||||
|
||||
7
scrub.js
7
scrub.js
@@ -753,7 +753,12 @@ function getClearTab(tobj) {
|
||||
console.log("(pageaction)", tab.id, tab.url)
|
||||
}
|
||||
}
|
||||
browser.tabs.get(tobj.tabId).then(getTabURL, onError)
|
||||
console.log(tobj)
|
||||
if (typeof(tobj) == "number"){
|
||||
browser.tabs.get(tobj).then(getTabURL, onError)
|
||||
}else{
|
||||
browser.tabs.get(tobj.tabId).then(getTabURL, onError)
|
||||
}
|
||||
}
|
||||
|
||||
browser.tabs.onActivated.addListener(getClearTab);
|
||||
|
||||
Reference in New Issue
Block a user