minimal duckduckgo lite

make the lite version more minimalistic and clean

  1. // ==UserScript==
  2. // @name minimal duckduckgo lite
  3. // @version 1.0.1
  4. // @description make the lite version more minimalistic and clean
  5. // @author woepsych
  6. // @license MIT
  7. // @match https://lite.duckduckgo.com/lite/
  8. // @icon https://www.google.com/s2/favicons?sz=64&domain=duckduckgo.com
  9. // @require https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js
  10. // @grant none
  11. // @run-at document-start
  12. // @namespace https://gf.qytechs.cn/users/970325
  13. // ==/UserScript==
  14.  
  15. var $ = window.jQuery;
  16.  
  17. (function() {
  18. 'use strict';
  19.  
  20. $('link[rel=stylesheet]').remove();
  21. $(".header").text("duckduckgo");
  22. $(".submit").attr("value", "search");
  23. $(".extra").remove();
  24. $("a").css("color", "#333333");
  25. $(".result-snippet").css({"color": "#666666", "font-size": "smaller"});
  26. $(".link-text").css({"color": "#888888", "font-size": "small"});
  27. })();

QingJ © 2025

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