mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 07:30:02 -04:00
botguard bypass
This commit is contained in:
parent
db837b42c7
commit
09f4863e86
2 changed files with 4 additions and 2 deletions
|
@ -181,7 +181,9 @@ export default function (client: ScramjetClient, self: typeof window) {
|
|||
const realwin = ctx.get() as Window;
|
||||
|
||||
if (SCRAMJETCLIENT in realwin.self) {
|
||||
return realwin.self[SCRAMJETCLIENT].globalProxy.window;
|
||||
if (realwin.location.href.includes("accounts.google.com")) return null; // don't question it
|
||||
|
||||
return realwin.self[SCRAMJETCLIENT].globalProxy;
|
||||
} else {
|
||||
// hook the iframe
|
||||
const newclient = new ScramjetClient(realwin.self);
|
||||
|
|
|
@ -123,7 +123,7 @@ export const htmlRules: {
|
|||
"input",
|
||||
"track",
|
||||
],
|
||||
href: ["a", "link", "base", "area"],
|
||||
href: ["a", "link", "area"],
|
||||
data: ["object"],
|
||||
action: ["form"],
|
||||
formaction: ["button", "input", "textarea", "submit"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue