Skip to content

Instantly share code, notes, and snippets.

@learosema
Last active April 9, 2023 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save learosema/c4dceaff2349ef927b4b9bd4c98a8f07 to your computer and use it in GitHub Desktop.
Save learosema/c4dceaff2349ef927b4b9bd4c98a8f07 to your computer and use it in GitHub Desktop.
UserScript: Mark as Grifter site
// ==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