Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BludIsAnLemon authored Nov 28, 2024
1 parent 90aca32 commit 8bd2c0b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
const url = new URL(window.location.href);

if(url.searchParams.get('ref') == 'yri') {
document.querySelector('title').textContent = 'you came from https://miyo.lol didn\'t you?';
document.querySelector("link[rel='shortcut icon']").href = "boykisser.png";
switch(url.searchParams.get('ref')) {
case 'yri':
document.querySelector('title').textContent = 'you came from https://miyo.lol didn\'t you?';
document.querySelector("link[rel='shortcut icon']").href = "boykisser.png";
break;
case 'mistium':
document.querySelector('title').textContent = 'you came from https://extensions.mistium.com didn\'t you?'
break
}

0 comments on commit 8bd2c0b

Please sign in to comment.