This commit is contained in:
@@ -48,9 +48,8 @@
|
||||
if (response && response.success) {
|
||||
itemData = response.data;
|
||||
} else {
|
||||
console.error('Failed to fetch custom data, falling back to local');
|
||||
const localResponse = await fetch(browserAPI.runtime.getURL('new_data.json'));
|
||||
itemData = await localResponse.json();
|
||||
console.error('Failed to fetch custom data. Not falling back to local data as per user preference.');
|
||||
itemData = {};
|
||||
}
|
||||
} else {
|
||||
const response = await fetch(browserAPI.runtime.getURL('new_data.json'));
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 2,
|
||||
"name": "Spectral RS Wiki Price Display",
|
||||
"version": "1.0",
|
||||
"version": "1.0.2",
|
||||
"description": "Displays item IDs from ely.gg on RuneScape Wiki pages.",
|
||||
"browser_specific_settings": {
|
||||
"gecko": {
|
||||
@@ -16,7 +16,9 @@
|
||||
},
|
||||
"permissions": [
|
||||
"storage",
|
||||
"https://www.ely.gg/*"
|
||||
"https://www.ely.gg/*",
|
||||
"https://*/*",
|
||||
"http://*/*"
|
||||
],
|
||||
"icons": {
|
||||
"64": "img/64.png",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "Spectral RS Wiki Price Display",
|
||||
"version": "1.0",
|
||||
"version": "1.0.2",
|
||||
"description": "Displays item IDs from ely.gg on RuneScape Wiki pages.",
|
||||
"permissions": [
|
||||
"storage"
|
||||
@@ -12,8 +12,8 @@
|
||||
"https://*/*"
|
||||
],
|
||||
"icons": {
|
||||
"48": "img/64.png",
|
||||
"96": "img/128.png"
|
||||
"64": "img/64.png",
|
||||
"128": "img/128.png"
|
||||
},
|
||||
"action": {
|
||||
"default_icon": "img/64.png",
|
||||
|
||||
@@ -15,7 +15,9 @@
|
||||
},
|
||||
"permissions": [
|
||||
"storage",
|
||||
"https://www.ely.gg/*"
|
||||
"https://www.ely.gg/*",
|
||||
"https://*/*",
|
||||
"http://*/*"
|
||||
],
|
||||
"icons": {
|
||||
"64": "img/64.png",
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user