This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
let linkBlanks = document.querySelectorAll('a[target*=blank]'); | |
if (linkBlanks.length === 0) return; | |
for (let link of linkBlanks ) { | |
if (!/noopener/i.test(link.rel)) link.rel += " noopener"; | |
if (!/noreferrer/i.test(link.rel)) link.rel += " noreferrer"; | |
if (link.rel[0] === " ") link.rel = link.rel.slice(1); | |
} | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name DC - MobileFixes | |
// @namespace http://tampermonkey.net/ | |
// @version 0.12 | |
// @description Fix player interactions with draggable boxes | |
// @author Ajira | |
// @match https://www.dreadcast.net/Main | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function numberCountUp() { | |
$('.js-countup').each(function () { | |
var year = $(this).text(); | |
$(this).text(year - 80); | |
var tempyear = year - 80; | |
var self = this; | |
var scrollStart = () => { | |
if (( $(self).offset().top - 700) < $(window).scrollTop()) { | |
var interval = setInterval( () => { | |
if (tempyear < year) { |