DuckDuckGo: Default to past year

Make DuckDuckGo (DDG) default to showing results from the past year.

  1. // ==UserScript==
  2. // @name DuckDuckGo: Default to past year
  3. // @namespace adamw.uk
  4. // @version 1.2
  5. // @description Make DuckDuckGo (DDG) default to showing results from the past year.
  6. // @author Adam W
  7. // @match https://duckduckgo.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. 'use strict';
  13.  
  14. var url = window.location.href;
  15. if (url.indexOf('&df=') == -1) {
  16. var newurl = url + '&df=y';
  17. window.location.replace(newurl);
  18. }
  19. })();

QingJ © 2025

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