<[ ]>
by
noromanba
2018-04-19 [2018/04/19 08:54:38]
NxN, NxM enlarge
-
(() => {
'use strict';
const enlarged =
location.pathname.replace(/\/(?<x>\d+)x(?<y>\d+)\//, (...args) => {
const { x, y } = args[args.length - 1];
return `/${ x * 2 }x${ y * 2 }/`;
});
if (location.pathname === enlarged) return;
location.pathname = enlarged;
})();
-
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。