summaryrefslogtreecommitdiff
path: root/s1nprv.club/assets/javascript/app.js
diff options
context:
space:
mode:
authors1n <[email protected]>2019-11-12 23:34:00 -0800
committers1n <[email protected]>2019-11-12 23:34:00 -0800
commit114d400f4101ca7053b3aa1d7e94711ad96c9b31 (patch)
tree1cbec7a958f8f2045ac933085b1476cb66763cda /s1nprv.club/assets/javascript/app.js
parentchange about (diff)
downloads1n.pw-admin-114d400f4101ca7053b3aa1d7e94711ad96c9b31.tar.xz
s1n.pw-admin-114d400f4101ca7053b3aa1d7e94711ad96c9b31.zip
s1nprv to maldrama
Diffstat (limited to 's1nprv.club/assets/javascript/app.js')
-rw-r--r--s1nprv.club/assets/javascript/app.js62
1 files changed, 0 insertions, 62 deletions
diff --git a/s1nprv.club/assets/javascript/app.js b/s1nprv.club/assets/javascript/app.js
deleted file mode 100644
index 8fa0b78..0000000
--- a/s1nprv.club/assets/javascript/app.js
+++ /dev/null
@@ -1,62 +0,0 @@
-var _app = function () {
- this.id = 0;
- this.videoElement = null;
- this.audioElement = null;
- this.musicVolume = 0.12;
- this.musicFadeIn = 4000;
- this.skippedIntro = false;
- this.backgroundToggler = false;
- this.shouldIgnoreVideo = false;
- this.effects = ["bounce", "flash", "pulse", "rubberBand", "shake", "swing", "tada", "wobble", "jello"];
- this.brandDescription = [
- "grinchy boys",
- "11 years old kids team",
- "pro roblox players",
- "xane ddosers",
- "trashtalkers",
- "zuhn fanboys",
- "hack vs hack noobs",
- "paste lords",
- "baimware users"
- ];
-
- this.titleChanger = function (text, delay) {
- text = text ||
- ['s1nical', 's1n', 's1nny', 'sin', 'sinny', '=', 's1nprv.club', 'Song name: KUSO GVKI - Cinnamon (feat. Apfel) (splash! Mag Premiere)'];
- delay = delay || 2000;
-
- var counter = 0;
-
- setInterval(function () {
- if(counter < text.length)
- document.title = text[counter++];
- else
- document.title = text[counter = 0];
- }, delay);
- }
-
- this.iconChanger = function (urls, delay) {
- if (!urls)
- return;
-
- delay = delay || 2000;
-
- var counter = 0;
-
- setInterval(function () {
- if(counter < urls.length) {
- var link = document.querySelector("link[rel*='icon']") || document.createElement('link');
- link.type = 'image/x-icon';
- link.rel = 'shortcut icon';
- link.href = urls[counter];
- document.getElementsByTagName('head')[0].appendChild(link);
- }
- else
- counter = 0;
-
- ++counter;
- }, delay);
- }
-};
-
-var app = new _app();