update: update ver num
Some checks failed
Update Data / update-data (push) Has been cancelled

This commit is contained in:
Yorgei
2026-01-18 15:08:43 +10:00
parent df9779cce1
commit 1c28778a1c
6 changed files with 12 additions and 9 deletions

View File

@@ -48,9 +48,8 @@
if (response && response.success) { if (response && response.success) {
itemData = response.data; itemData = response.data;
} else { } else {
console.error('Failed to fetch custom data, falling back to local'); console.error('Failed to fetch custom data. Not falling back to local data as per user preference.');
const localResponse = await fetch(browserAPI.runtime.getURL('new_data.json')); itemData = {};
itemData = await localResponse.json();
} }
} else { } else {
const response = await fetch(browserAPI.runtime.getURL('new_data.json')); const response = await fetch(browserAPI.runtime.getURL('new_data.json'));

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 2, "manifest_version": 2,
"name": "Spectral RS Wiki Price Display", "name": "Spectral RS Wiki Price Display",
"version": "1.0", "version": "1.0.2",
"description": "Displays item IDs from ely.gg on RuneScape Wiki pages.", "description": "Displays item IDs from ely.gg on RuneScape Wiki pages.",
"browser_specific_settings": { "browser_specific_settings": {
"gecko": { "gecko": {
@@ -16,7 +16,9 @@
}, },
"permissions": [ "permissions": [
"storage", "storage",
"https://www.ely.gg/*" "https://www.ely.gg/*",
"https://*/*",
"http://*/*"
], ],
"icons": { "icons": {
"64": "img/64.png", "64": "img/64.png",

View File

@@ -1,7 +1,7 @@
{ {
"manifest_version": 3, "manifest_version": 3,
"name": "Spectral RS Wiki Price Display", "name": "Spectral RS Wiki Price Display",
"version": "1.0", "version": "1.0.2",
"description": "Displays item IDs from ely.gg on RuneScape Wiki pages.", "description": "Displays item IDs from ely.gg on RuneScape Wiki pages.",
"permissions": [ "permissions": [
"storage" "storage"
@@ -12,8 +12,8 @@
"https://*/*" "https://*/*"
], ],
"icons": { "icons": {
"48": "img/64.png", "64": "img/64.png",
"96": "img/128.png" "128": "img/128.png"
}, },
"action": { "action": {
"default_icon": "img/64.png", "default_icon": "img/64.png",

View File

@@ -15,7 +15,9 @@
}, },
"permissions": [ "permissions": [
"storage", "storage",
"https://www.ely.gg/*" "https://www.ely.gg/*",
"https://*/*",
"http://*/*"
], ],
"icons": { "icons": {
"64": "img/64.png", "64": "img/64.png",

Binary file not shown.

Binary file not shown.