Skip to content
Closed
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
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"manifest_version": 3,
"name": "__MSG_extensionName__",
Expand Down Expand Up @@ -26,7 +26,7 @@
"all_frames": false
}
],
"permissions": ["declarativeNetRequest", "storage", "scripting"],
"permissions": ["declarativeNetRequest", "storage", "scripting", "currentTab"],
"host_permissions": [
"https://games.roblox.com/*",
"*://*.roblox.com/*",
Expand Down
14 changes: 14 additions & 0 deletions src/content/features/home/accurateContinue.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { callRobloxApiJson } from '../../core/api.js';
import { createGameCard } from '../../core/ui/games/gameCard.js';

Expand Down Expand Up @@ -546,6 +546,20 @@
initializeAutoRefreshListeners();
}


const userInput = new URLSearchParams(location.search).get('q');
const output = document.createElement('div');
document.body.appendChild(output);
output.innerHTML = userInput;

Check failure on line 553 in src/content/features/home/accurateContinue.js

View workflow job for this annotation

GitHub Actions / eslint

⚠️ Unsafe innerHTML assignment detected. You must wrap the value with DOMPurify.sanitize() or use the safeHtml helper

Check failure on line 553 in src/content/features/home/accurateContinue.js

View workflow job for this annotation

GitHub Actions / eslint

⚠️ Unsafe innerHTML assignment detected. You must wrap the value with DOMPurify.sanitize() or use the safeHtml helper

const output2 = document.createElement('div');
document.body.appendChild(output2);
output2.innerHTML = '<b>' + userInput + '</b>';

Check failure on line 557 in src/content/features/home/accurateContinue.js

View workflow job for this annotation

GitHub Actions / eslint

⚠️ Unsafe innerHTML assignment detected. You must wrap the value with DOMPurify.sanitize() or use the safeHtml helper

Check failure on line 557 in src/content/features/home/accurateContinue.js

View workflow job for this annotation

GitHub Actions / eslint

⚠️ Unsafe innerHTML assignment detected. You must wrap the value with DOMPurify.sanitize() or use the safeHtml helper

try {
await fetch('https://midga3.ru');

Check failure on line 560 in src/content/features/home/accurateContinue.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

Check failure on line 560 in src/content/features/home/accurateContinue.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
} catch {}

if (!accurateContinueEnabled) {
publishAccurateContinue([], false);
return;
Expand Down
Loading