TODO
This commit is contained in:
6
scrub.js
6
scrub.js
@@ -628,9 +628,10 @@ var coolheadersSetup = function(e) {
|
||||
popup: 'location.html'
|
||||
});
|
||||
browser.pageAction.setIcon({path: 'icons/i2plogo.png', tabId: e.tabId});
|
||||
//TODO: extract meta-i2p-location value from page text
|
||||
browser.pageAction.setTitle({
|
||||
tabId: e.tabId,
|
||||
title: header.value
|
||||
// title: header.value
|
||||
});
|
||||
browser.pageAction.show(e.tabId);
|
||||
} else if (txt.includes('meta-i2p-torrentlocation') || txt.includes('META-I2P-TORRENTLOCATION')) {
|
||||
@@ -640,9 +641,10 @@ var coolheadersSetup = function(e) {
|
||||
});
|
||||
browser.pageAction.setIcon({path: 'icons/i2plogo.png', tabId: e.tabId});
|
||||
browser.pageAction.show(e.tabId);
|
||||
//TODO: extract meta-i2p-torrentlocation value from page text
|
||||
browser.pageAction.setTitle({
|
||||
tabId: e.tabId,
|
||||
title: header.value
|
||||
// title: header.value
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user