This commit is contained in:
idk
2020-09-22 01:53:43 -04:00
parent cf91b77e8d
commit a2be795853

View File

@@ -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
});
}
}