NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name url replacer // @namespace global // @description replace peace of string // @include http*://*.youtube.com/* // @version 1 // @grant none // ==/UserScript== // desc: replace http://www.youtube.com/v/CZWlWXUaTwI to http://www.youtube.com/watch?v=CZWlWXUaTwI var url = location.href; if (location.href.search("youtube.com/v/")>0){ url = url.replace("youtube.com/v/","youtube.com/watch?v="); location.href=url; }