mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
askOnly once extended
API-types can now be combined in "askOnlyOnce". Needed new storage version -> added settings migration
This commit is contained in:
parent
f75189f374
commit
a465303fff
7 changed files with 116 additions and 38 deletions
|
@ -91,13 +91,6 @@
|
|||
|
||||
browser.runtime.onInstalled.addListener(function(){
|
||||
message("CanvasBlocker installed");
|
||||
browser.storage.local.get("storageVersion").then(function(data){
|
||||
if (data.storageVersion !== 0.1){
|
||||
browser.storage.local.set({
|
||||
storageVersion: 0.1
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
message("end");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue