Skip to content

Commit

Permalink
Fixed firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
jbzdarkid committed Sep 1, 2024
1 parent 10eb8b0 commit 91ccf32
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"browser_specific_settings": {
"gecko": {
"id": "[email protected]"
}
},
"chrome_url_overrides": {
"newtab": "presently.html"
},
Expand All @@ -13,5 +18,5 @@
"permissions": [
"storage"
],
"version": "1.2.5"
"version": "1.2.6"
}
2 changes: 1 addition & 1 deletion publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@
import webbrowser
wb = webbrowser.get(r'cmd /c "C:/Program Files/Google/Chrome/Application/chrome.exe" "%s"')
# wb.open('https://accounts.google.com/ServiceLogin?service=chromewebstore&continue=https://chrome.google.com/webstore/developer/dashboard')
wb.open('https://chrome.google.com/webstore/devconsole/81cc570c-d6f5-41a5-9253-968836988de5/aikckckhmjomanhniabajcbhmhpifepf/edit/package') # This one might be better?
# wb.open('https://chrome.google.com/webstore/devconsole/81cc570c-d6f5-41a5-9253-968836988de5/aikckckhmjomanhniabajcbhmhpifepf/edit/package') # This one might be better?
6 changes: 3 additions & 3 deletions utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ function internalGet(store, key, callback) {
return
}
store.get([key], function(result) {
// result will be {} if nothing is found, or result[key] will be null (for localstorage)
inMemory[key] = result[key]
callback(result[key])
value = result == null ? null : result[key] // Chrome returns {}, firefox returns null, localstorage returns {value:null}
inMemory[key] = value
callback(value)
})
}

Expand Down

0 comments on commit 91ccf32

Please sign in to comment.