Skip to content

Commit

Permalink
Update injectRammerhead.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealGeoDash2019 authored Oct 23, 2024
1 parent 0a37b20 commit 8020334
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/injectRammerhead.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ document.waitForElement(`[class^="chrome-tabs"]`).then(async el => {
globalThis.setHTTPProxy = async function(_) {
(await rhSession.setHttpProxySetting(_));
const result = await rhSession.getHttpProxySetting(), state = {
endpoint: ("http://" + result.proxyAuth + "@" + result.host)
endpoint: (result? ("http://" + result?.proxyAuth + "@" + result?.host) : "")
}, domains = await getAuthorizedSettingPages();

Object.entries(await window.getFrames()).filter(e => {
Expand Down Expand Up @@ -572,7 +572,7 @@ document.waitForElement(`[class^="chrome-tabs"]`).then(async el => {
const result = await rhSession.getHttpProxySetting();

const state = {
endpoint: ("http://" + result.proxyAuth + "@" + result.host)
endpoint: (result? ("http://" + result?.proxyAuth + "@" + result?.host) : "")
}, domains = await getAuthorizedSettingPages();

Object.entries(await window.getFrames()).filter(e => {
Expand Down

0 comments on commit 8020334

Please sign in to comment.