Commit 2882a82d authored by spenibus's avatar spenibus

Added explanatory tooltip text to clarify what the addon is currently doing

parent b554a2b6
......@@ -100,6 +100,13 @@ let spenibus_corsEverywhere = {
,updateButton : function() {
let buttonStatus = spenibus_corsEverywhere.enabled ? 'on' : 'off';
browser.browserAction.setIcon({path:{48:'media/button-48-'+buttonStatus+'.png'}});
// button tooltip text
let str = spenibus_corsEverywhere.enabled
? 'CorsE enabled, CORS rules are bypassed'
: 'CorsE disabled, CORS rules are followed';
browser.browserAction.setTitle({title:str});
return this;
}
......
......@@ -2,7 +2,7 @@
"manifest_version" : 2
,"name" : "CORS Everywhere"
,"version" : "18.5.23.1819"
,"version" : "18.5.23.1849"
,"author" : "spenibus"
,"description" : "Bypass CORS restrictions by altering http responses."
......@@ -22,6 +22,7 @@
,"default_icon" : {
"48" : "media/button-48.png"
}
,"default_title" : "CORS Everywhere"
}
,"options_ui" : {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment