Greasy Fork is available in English.

Atcoder Easy Jump

Atcoderから外部のリンクへ素早くジャンプしたい方へ

2024-04-07 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

  1. // ==UserScript==
  2. // @name Atcoder Easy Jump
  3. // @namespace http://tampermonkey.net/
  4. // @version 2024-04-07
  5. // @description Atcoderから外部のリンクへ素早くジャンプしたい方へ
  6. // @author KAM1KAZE
  7. // @match https://atcoder.jp/*
  8. // @license MIT
  9. // ==/UserScript==
  10.  
  11. (function() {
  12. const matches = document.querySelectorAll("a");
  13. matches.forEach((item) => {
  14. const st = item.href;
  15. if(st.includes("jump?url=")){
  16. item.href = decodeURIComponent(st.substring(st.indexOf("jump?url=")+9, st.lenght));
  17. }
  18. });
  19. })();