Link redirects remover for Qwant Lite

Remove redirections links on QWant Lite

// ==UserScript==
// @name        Link redirects remover for Qwant Lite
// @namespace   rawmonk
// @match       https://lite.qwant.com/
// @grant       none
// @version     1.0
// @author      rawmonk
// @license     ISC
// @description Remove redirections links on QWant Lite
// ==/UserScript==
for(var i = 0, l=document.links.length; i<l; i++) {
  elem = document.links[i];
  if (elem.href.includes("redirect")) {
    elem.href = decodeURIComponent(atob(elem.href.split("/")[5].split("?")[0]))
  }
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址