Update script.user.js
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
// ==UserScript==
|
||||
// @name RuneScape Wiki Ely Prices
|
||||
// @namespace https://ely.gg/
|
||||
// @version 1.0.0
|
||||
// @version 1.0.1
|
||||
// @description Show Ely prices on RuneScape Wiki pages
|
||||
// @match https://runescape.wiki/w/*
|
||||
// @grant GM_xmlhttpRequest
|
||||
// @connect www.ely.gg
|
||||
// @connect gist.yorgei.dev
|
||||
// @connect git.yorgei.dev
|
||||
// @downloadURL https://git.yorgei.dev/yorgei/rs-wiki-ely/raw/branch/main/script.user.js
|
||||
// ==/UserScript==
|
||||
|
||||
(async function () {
|
||||
@@ -42,8 +43,7 @@
|
||||
|
||||
const originalCursor = pageTitleElement.style.cursor;
|
||||
|
||||
const dataResponse = await fetch(dataUrl);
|
||||
const itemData = await dataResponse.json();
|
||||
const itemData = await gmFetchJson(dataUrl);
|
||||
|
||||
const pageTitle = pageTitleElement.textContent.trim();
|
||||
const urlPath = window.location.pathname;
|
||||
|
||||
Reference in New Issue
Block a user