Created
September 10, 2024 03:16
-
-
Save salmonmoose/5ac21886bd0d33675fe3630345e5365c to your computer and use it in GitHub Desktop.
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 The Riverboat Helper | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-09-10 | |
// @description Things I don't like in the Riverboat.gg site | |
// @author salmonmoose | |
// @match https://www.riverboat.gg/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=riverboat.gg | |
// @grant none | |
// ==/UserScript== | |
/* global $ */ | |
/* global jQuery */ | |
(function() { | |
'use strict'; | |
function makeBannerClickable() { | |
var $banner = $('.enterframe-inner.scroller-wrapper>div>img'); | |
var $link = $('a'); | |
$link.insertBefore($banner); | |
$link.href = "https://www.riverboat.gg/live"; | |
$link.append($banner); | |
} | |
makeBannerClickable(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment