Skip to content

Commit 2c309a2

Browse files
committed
Remove mentions of options.js
1 parent 52a7c80 commit 2c309a2

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

firefox/manifest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
"description": "Mute thread"
3838
}
3939
},
40-
"content_security_policy": "script-src 'self' 'unsafe-eval'; object-src 'self'",
4140
"content_scripts": [
4241
{
4342
"matches": [

firefox/src/bg/background.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
let data = {}
2-
fetch('../options/options.json').then(res => res.json()).then(json => {
3-
for (var key in json) {
4-
data[key] = json[key].val
5-
if(localStorage[key]) { data[key] = localStorage[key] }
6-
}
7-
})
82

93
browser.runtime.onMessage.addListener(function(req, sender, sendMessage) {
104
if(req.url) {

0 commit comments

Comments
 (0)