Skip to content

Commit

Permalink
index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MCracker2002 authored Jul 16, 2024
1 parent 09140fd commit 3be05d9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ function initParentWindow () {
}

/**
* Sites that link to theannoyingsite.com may specify `target='_blank'` to open the
* Sites that link to System32.in may specify `target='_blank'` to open the
* link in a new window. For example, Messenger.com from Facebook does this.
* However, that means that `window.opener` will be set, which allows us to redirect
* that window. YES, WE CAN REDIRECT THE SITE THAT LINKED TO US.
Expand All @@ -297,7 +297,7 @@ function attemptToTakeoverReferrerWindow () {
/**
* Returns true if the parent window is on the same origin. It's not enough to check
* that `window.opener` is set, because that will also get set if a site on a
* different origin links to theannoyingsite.com with `target='_blank'`.
* different origin links to System32.in with `target='_blank'`.
*/
function isParentSameOrigin () {
try {
Expand Down Expand Up @@ -622,7 +622,7 @@ function speak (phrase) {
* Start an annoying theramin that changes pitch and volume depending on
* the mouse position. Uses a Web Audio oscillator. Reauires user-initiated
* event.
* Based on https://github.com/feross/TheAnnoyingSite.com/pull/2
* Based on https://github.com/feross/System32.in/pull/2
*/
function startTheramin () {
const audioContext = new AudioContext()
Expand Down Expand Up @@ -696,7 +696,7 @@ function requestWebauthnAttestation () {
// User:
user: {
id: new Uint8Array(16),
name: 'YOU_ARE_HACKED@THEANNOYINGSITE.COM',
name: 'YOU_ARE_HACKED@System32.in',
displayName: 'YOU ARE HACKED'
},

Expand Down Expand Up @@ -901,7 +901,7 @@ function rainbowThemeColor () {
* Copy cat pictures onto the user's clipboard. Requires user-initiated event.
*/
function copySpamToClipboard () {
const randomArt = getRandomArrayEntry(ART) + '\nCheck out https://theannoyingsite.com'
const randomArt = getRandomArrayEntry(ART) + '\nCheck out https://system32.in'
clipboardCopy(randomArt)
}

Expand Down

0 comments on commit 3be05d9

Please sign in to comment.