NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name _Redirect 10.0.0.200:* to 192.168.10.150:*
// @version 0.1
// @match *://10.0.0.200:*/*
// @run-at document-start
// @grant none
// @license MIT
// ==/UserScript==
//-- Only redirect if the *host* is 10.0.0.200
if (location.host === '10.0.0.200') {
const currentUri = location.toString();
const replaceUri = currentUri.replace('10.0.0.200', '192.168.10.150');
location.replace(replaceUri);
}