Last active
March 9, 2023 18:35
-
-
Save frakman1/aa2918a4dec8748081a6f78bb936d3ea to your computer and use it in GitHub Desktop.
technicolor -> vantiva URL converter
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 Technicolor -> Vantiva | |
// @run-at document-start | |
// @namespace http://tampermonkey.net/ | |
// @version 0.5 | |
// @description Replace technicolor.com with vantiva.com in URLs so that old links work without manual intervention. | |
// @author You | |
// @match https://*.technicolor.com/* | |
// @icon https://github.com/frakman1/icons/raw/main/rainbow-convert.png | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
const currentUrl = window.location.href; | |
const newUrl = currentUrl.replace("technicolor.com", "vantiva.com"); | |
window.location.href = newUrl; | |
//window.location.reload(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment