Skip to content

Instantly share code, notes, and snippets.

@freaktechnik
Last active April 26, 2024 22:05
Show Gist options
  • Save freaktechnik/a99ed0c844481a5691cbc129c4ceaccf to your computer and use it in GitHub Desktop.
Save freaktechnik/a99ed0c844481a5691cbc129c4ceaccf to your computer and use it in GitHub Desktop.
Just a random user script
// ==UserScript==
// @name Lichtensteien
// @namespace Violentmonkey Scripts
// @include http://*
// @include https://*
// @include *
// @grant none
// @version 1.0
// @author Martin Giger
// @description 11/10/2020, 1:40:47 PM
// ==/UserScript==
(function() {
window.addEventListener("DOMContentLoaded", () => {
document.body.innerHTML = document.body.innerHTML.replace(/(l)(ie)(chtenst)(ei)(n)/ig, (lichtensteien, l, ie, chtenst, ei, n) => {
const i = ie[0];
const eie = ei + ei[0];
return l + i + chtenst + eie + n;
});
});
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment