diff --git a/chrome-extension/content.js b/chrome-extension/content.js index b718873..de868e3 100644 --- a/chrome-extension/content.js +++ b/chrome-extension/content.js @@ -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')); diff --git a/chrome-extension/manifest-firefox.json b/chrome-extension/manifest-firefox.json index 00f7a4e..3e01b34 100644 --- a/chrome-extension/manifest-firefox.json +++ b/chrome-extension/manifest-firefox.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", diff --git a/chrome-extension/manifest-v3.json b/chrome-extension/manifest-v3.json index 9da164d..e8dac37 100644 --- a/chrome-extension/manifest-v3.json +++ b/chrome-extension/manifest-v3.json @@ -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", diff --git a/chrome-extension/manifest.json b/chrome-extension/manifest.json index 5cb454b..f21a4b9 100644 --- a/chrome-extension/manifest.json +++ b/chrome-extension/manifest.json @@ -15,7 +15,9 @@ }, "permissions": [ "storage", - "https://www.ely.gg/*" + "https://www.ely.gg/*", + "https://*/*", + "http://*/*" ], "icons": { "64": "img/64.png", diff --git a/release/ely-extension-chrome.zip b/release/ely-extension-chrome.zip index 851701e..083ab5a 100644 Binary files a/release/ely-extension-chrome.zip and b/release/ely-extension-chrome.zip differ diff --git a/release/ely-extension-firefox.zip b/release/ely-extension-firefox.zip index df6084f..ed8b39b 100644 Binary files a/release/ely-extension-firefox.zip and b/release/ely-extension-firefox.zip differ