Skip to content

Commit

Permalink
a random google fix that will most likely not work
Browse files Browse the repository at this point in the history
  • Loading branch information
skrill-on-discord authored Jan 13, 2024
1 parent ab0a1f8 commit b795db8
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/modules/modules/exploits/proxies.ts
Original file line number Diff line number Diff line change
@@ -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/' },
Expand All @@ -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;
Expand Down Expand Up @@ -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 = {
Expand Down

0 comments on commit b795db8

Please sign in to comment.