• 1 Post
  • 3 Comments
Joined 1 year ago
cake
Cake day: July 28th, 2023

help-circle


  • Thank you so much. I didn’t even think about Greasemonkey. I went to make a script using your code and it said there was already one available. That script looks like this:

    Edit: Updated script

    (function() {
        'use strict';
    
        var links = document.links;
        for (var i = 0; i < links.length; i++) {
            var referer = links[i].href.indexOf('&u=');
            links[i].href = decodeURIComponent(links[i].href.substr(referer + 3));
        }
    
    })();
    
    

    and it worked fine. Then I replaced that code with yours, and it worked just as well. Thanks again.