Skip to content

Commit

Permalink
load stealth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ccev committed Apr 25, 2024
1 parent 6dfa037 commit 68d515d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions xilriws-proxy/background.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const STEALTH_JS = ""
const ws = new WebSocket('ws://127.0.0.1:9091');

let currentProxyCreds = {
Expand Down Expand Up @@ -60,6 +61,11 @@ chrome.tabs.onUpdated.addListener((tabId, details) => {
{code: 'localStorage.clear()', runAt: 'document_start'},
(result) => {console.log('Cleared local storage')}
)
chrome.tabs.executeScript(
tabId,
{file: 'stealth.min.js', runAt: 'document_start'},
(result) => {console.log('stealth.js loaded')}
)
})

chrome.tabs.onRemoved.addListener(
Expand Down
1 change: 1 addition & 0 deletions xilriws-proxy/stealth.min.js

Large diffs are not rendered by default.

0 comments on commit 68d515d

Please sign in to comment.