Last active
April 9, 2023 10:04
-
-
Save learosema/c4dceaff2349ef927b4b9bd4c98a8f07 to your computer and use it in GitHub Desktop.
UserScript: Mark as Grifter site
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 Mark grifter websites | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Mark Grifter Websitess as grifter websites | |
// @author Lea Rosema | |
// @match https://technewsidea.com/ | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=technewsidea.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
const div = document.createElement('div'); | |
div.setAttribute('role', 'alert'); | |
div.setAttribute('aria-live', 'assertive'); | |
div.setAttribute('style', 'position: fixed'); | |
document.body.appendChild(div); | |
setTimeout(() => { | |
div.setAttribute('style', 'position:fixed; z-index: 9999; opacity: 0.9999; transform: translateZ(100px); font-size: 4rem; top: 0; left: 0; right: 0; padding: 4rem; background: #800; color: #fff;'); | |
div.textContent = 'Grifter website!'; | |
}, 1000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment