Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/background/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@
handlePresenceUpdate(presence);
}
}
} catch (e) {

Check warning on line 721 in src/background/background.js

View workflow job for this annotation

GitHub Actions / eslint

'e' is defined but never used
// ignore
}
},
Expand Down Expand Up @@ -1059,7 +1059,7 @@
.catch((error) => sendResponse({ error: error.message }));
return true;
case 'fetchJson':
fetch(request.url)

Check failure on line 1062 in src/background/background.js

View workflow job for this annotation

GitHub Actions / eslint

⚠️ Do not use raw fetch(). Use 'callRobloxApi' or 'callRobloxApiJson' from 'core/api.js' instead to handle auth and errors consistently
.then((res) => {
if (!res.ok) throw new Error(`HTTP ${res.status}`);
return res.json();
Expand Down Expand Up @@ -1109,7 +1109,7 @@
script.textContent = code;
document.documentElement.appendChild(script);
script.remove();
} catch (e) {}

Check warning on line 1112 in src/background/background.js

View workflow job for this annotation

GitHub Actions / eslint

'e' is defined but never used
},
args: [request.codeToInject],
})
Expand Down Expand Up @@ -1380,9 +1380,9 @@
} else if (request.feature === 'viewid') {
request.ids.forEach((id) => {
chrome.storage.local.get(
['viewIdEnabled'],
['viewIdEnabled2'],
(settings) => {
if (settings.viewIdEnabled) {
if (settings.viewIdEnabled2) {
chrome.contextMenus.create({
id: `rovalra-viewid-${id}`,
title: request.data.title,
Expand Down
5 changes: 5 additions & 0 deletions src/background/settingsCompat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
const settingDeprecations: Record<string, ((value: any, gets: (key: string) => Promise<any>, sets: (key: string, value: any) => void) => void) | undefined> = {
"EnableGameTrailer": undefined,
"currencyTransferEnabled": undefined,
"viewIdEnabled": async (value, gets, sets) => {
if (await gets("viewIdEnabled2") === undefined) {
sets("viewIdEnabled2", value);
}
},
};


Expand Down
2 changes: 1 addition & 1 deletion src/content/core/settings/settingConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -3752,7 +3752,7 @@ export const SETTINGS_CONFIG = {
},
},
},
viewIdEnabled: {
viewIdEnabled2: {
label: 'View Bundled IDs',
description:
'Allows you to view all bundles items and their IDs of any catalog item.',
Expand Down
296 changes: 0 additions & 296 deletions src/content/features/sitewide/viewid.ts

This file was deleted.

Loading
Loading