Open scripts list sorting for creation date by default

When you click on the top menu of Greasyfork on the Scripts link, you normally see the scripts listed by daily imstalls. With this script the same link will open scripts list sorted for creation date by defaut.

Verzia zo dňa 19.05.2024. Pozri najnovšiu verziu.

  1. // ==UserScript==
  2. // @name Open scripts list sorting for creation date by default
  3. // @namespace StephenP
  4. // @match https://greatest.deepsurf.us/*
  5. // @grant none
  6. // @version 1.0
  7. // @author StephenP
  8. // @description When you click on the top menu of Greasyfork on the Scripts link, you normally see the scripts listed by daily imstalls. With this script the same link will open scripts list sorted for creation date by defaut.
  9. // @license AGPL-3.0
  10. // @contributionURL https://buymeacoffee.com/stephenp_greasyfork
  11. // ==/UserScript==
  12. var scriptslinks=document.getElementsByClassName("scripts-index-link");
  13. scriptslinks[0].firstChild.href=scriptslinks[0].firstChild.href.replace("/scripts","/scripts?sort=created");