From b795db837d40807681f679e6b2b95ce3e9476802 Mon Sep 17 00:00:00 2001 From: skrill <147339739+skrill-on-discord@users.noreply.github.com> Date: Sat, 13 Jan 2024 01:07:05 -0600 Subject: [PATCH] a random google fix that will most likely not work --- src/modules/modules/exploits/proxies.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/modules/modules/exploits/proxies.ts b/src/modules/modules/exploits/proxies.ts index 17b8c6b..4c4aa63 100644 --- a/src/modules/modules/exploits/proxies.ts +++ b/src/modules/modules/exploits/proxies.ts @@ -1,7 +1,9 @@ import { moduleDefinition } from '../../moduleapi' function proxies() { + // @ts-ignore: Object is possibly 'null'. var popup = window.open('', 'Links', 'width=400,height=570,resizable=yes,scrollbars=yes'); + // @ts-ignore: Object is possibly 'null'. var linkList = [ { name: 'Nebula 1', url: 'https://crystalnetwork.me/' }, { name: 'Nebula 2', url: 'https://typhoon.lol/' }, @@ -13,7 +15,9 @@ var linkList = [ { name: 'Rammerhead 6', url: 'https://cfbrowser.chickenkiller.com/' }, { name: 'Rammerhead 7', url: 'https://kayd-is-goated.chickenkiller.com/' } ]; + // @ts-ignore: Object is possibly 'null'. var style = popup.document.createElement('style'); + // @ts-ignore: Object is possibly 'null'. style.textContent = ` body { font-family: 'Roboto', sans-serif; @@ -57,24 +61,30 @@ var linkList = [ `; popup.document.head.appendChild(style); - + // @ts-ignore: Object is possibly 'null'. var title = popup.document.createElement('h1'); + // @ts-ignore: Object is possibly 'null'. title.textContent = 'Proxies'; + // @ts-ignore: Object is possibly 'null'. popup.document.body.appendChild(title); + // @ts-ignore: Object is possibly 'null'. linkList.forEach(function(link) { var anchor = popup.document.createElement('a'); anchor.textContent = link.name; anchor.href = link.url; anchor.target = '_blank'; // Open links in a new tab - + // @ts-ignore: Object is possibly 'null'. popup.document.body.appendChild(anchor); + // @ts-ignore: Object is possibly 'null'. }); var footnote = popup.document.createElement('div'); footnote.className = 'footnote'; footnote.textContent = 'Credit to skrilll on Discord - DM IF PROXIES DIE'; + // @ts-ignore: Object is possibly 'null'. popup.document.body.appendChild(footnote); + // @ts-ignore: Object is possibly 'null'. } const plugin: moduleDefinition = {