Falcon / Direct links without redirection

// ==UserScript==
// @name         Direct links without redirection
// @namespace    https://hi.cellmean.com/
// @version      0.1
// @description  change redirecting link to direct link
// @author       Falcon
// @match        https://www.oschina.net/*
// @match        https://my.oschina.net/*
// @icon         https://static.oschina.net/new-osc/img/favicon.ico
// @run-at      document-start
// @license MIT

// ==/UserScript==
/*jshint esversion: 6 */
(function() {
    'use strict';
    const changeLinks = ()=>{
         document.querySelectorAll('a[href^="https://www.oschina.net/action/GoToLink?url="]').forEach(item=>{
               const href = item.getAttribute('href')
               const link = decodeURIComponent(href.substr(href.indexOf('?')+5))
               item.setAttribute('href',link)

       })
    }

    document.addEventListener ("DOMContentLoaded", changeLinks)
    window.addEventListener('scroll',changeLinks)

})()