Last active
May 23, 2019 08:42
-
-
Save musaprg/0cecc3d3705e77ac9f337eb378cde894 to your computer and use it in GitHub Desktop.
AOJ-ICPCから直接AOJv2.0へ飛べるようにするスクリプト
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Use AOJv2.0 in AOJ-ICPC | |
// @namespace musaprg | |
// @version 0.1.3 | |
// @description try to take over the world! | |
// @author Kotaro Inoue <[email protected]> | |
// @match http://aoj-icpc.ichyo.jp/* | |
// @grant none | |
// @updateURL https://gist.githubusercontent.com/musaprg/0cecc3d3705e77ac9f337eb378cde894/raw/user.js | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
// Your code here... | |
document.body.innerHTML = document.body.innerHTML.replace(/http:\/\/judge.u-aizu.ac.jp\/onlinejudge\/description.jsp\?id=(\d+).*"/g, 'https://onlinejudge.u-aizu.ac.jp/challenges/sources/%5E/%5E/$1"'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment