mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-12-22 12:50:36 +01:00
parent
114b109340
commit
fb1311a842
@ -170,9 +170,13 @@
|
|||||||
case "install":
|
case "install":
|
||||||
logging.message("CanvasBlocker installed");
|
logging.message("CanvasBlocker installed");
|
||||||
openOptions(details.reason);
|
openOptions(details.reason);
|
||||||
|
settings.onloaded(function(){
|
||||||
|
if (settings.showPresetsOnInstallation){
|
||||||
browser.tabs.create({
|
browser.tabs.create({
|
||||||
url: extension.getURL("options/presets.html?notice=" + details.reason)
|
url: extension.getURL("options/presets.html?notice=" + details.reason)
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
break;
|
break;
|
||||||
case "update":
|
case "update":
|
||||||
settings.onloaded(function(){
|
settings.onloaded(function(){
|
||||||
|
@ -414,6 +414,10 @@
|
|||||||
defaultValue: "auto",
|
defaultValue: "auto",
|
||||||
options: ["auto", "default", "light", "dark", "colorful"/*, "none"*/]
|
options: ["auto", "default", "light", "dark", "colorful"/*, "none"*/]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "showPresetsOnInstallation",
|
||||||
|
defaultValue: true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "dontShowOptionsOnUpdate",
|
name: "dontShowOptionsOnUpdate",
|
||||||
defaultValue: false
|
defaultValue: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user