Skip to content

Instantly share code, notes, and snippets.

@frakman1
Last active March 9, 2023 18:35
Show Gist options
  • Save frakman1/aa2918a4dec8748081a6f78bb936d3ea to your computer and use it in GitHub Desktop.
Save frakman1/aa2918a4dec8748081a6f78bb936d3ea to your computer and use it in GitHub Desktop.
technicolor -> vantiva URL converter
// ==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