isNotoSerif!
by
noromanba
2017-04-07 [2017/04/07 01:26:07]
[DONE] fix "NotoSerif Subset OTF" wrong links
@@ -1,6 +1,6 @@
/*
* @title isNotoSerif!
- * @description [Fixed] fix "NotoSerif Subset OTF" wrong links
+ * @description [DONE] fix "NotoSerif Subset OTF" wrong links
* @include https://www.google.com/get/noto/help/cjk/
* @license MIT License http://opensource.org/licenses/MIT
* @javascript_url
@@ -16,7 +16,7 @@
// https://www.google.com/get/noto/help/cjk/
(() => {
'use strict';
-
+/*
// XXX use XPath, smart
// TODO assertion
const subsetOTF = [...document.body.querySelectorAll('.cjk-downloads')].pop();
@@ -25,5 +25,6 @@
Array.from(subsetOTFSerif.querySelectorAll([
'a[href*="/NotoSans"]'
]), serif => serif.href = serif.href.replace(/\/NotoSans/, '/NotoSerif'));
+*/
})();
(() => {
'use strict';
})();
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。