Last active
April 18, 2024 16:51
-
-
Save Mgldvd/dd1eaa5a16af025dc9a3906bc7aac89c to your computer and use it in GitHub Desktop.
Banner Requiest - 01
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 Banner inject | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-04-18 | |
// @description Inject banner on page | |
// @author mgldvd | |
// @match *://*/* | |
// @run-at document-end | |
// @icon https://cdn-icons-png.flaticon.com/512/5171/5171483.png | |
// @grant none | |
// ==/UserScript== | |
(async () => { | |
try { | |
const content = await fetch("https://gist.githubusercontent.com/Mgldvd/dd1eaa5a16af025dc9a3906bc7aac89c/raw/banner-request.html?v=ed"); | |
const html = await content.text(); | |
document.body.insertAdjacentHTML("beforeend", html); | |
} catch (error) { | |
console.error("Error fetching content:", error); | |
} | |
})(); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment