require
by
noromanba
2014-09-02 [2014/09/02 03:47:54]
(Forked from
$X by
taizooo)
require js-modules for over the mixed-content-blocking
@@ -1,12 +1,13 @@
/*
- * @title $X
- * @description XPath
+ * @title require
+ * @description require js-modules for over the mixed-content-blocking
* @include http://*
+ * @include https://*
+ * @contributor taizooo http://let.hatelabo.jp/taizooo/let/gYC-xpPIvJP5Lg (Fork of)
* @license MIT License
* @javascript_url
*/
-// $X on XHTML and Cross Browser https://gist.github.com/os0x/184276
// Hatena::Let LOADER history and issue (ja) https://gist.github.com/noromanba/7015739
// ブックマークレットで jQuery を使う魔法の 210 文字 - Qiita http://qiita.com/otchy/items/5c4f2e1b2a93ac200f1c
// HTMLやCSSでのプロトコル表記(http:、https:)の省略について: 小粋空間 http://www.koikikukan.com/archives/2012/05/11-012345.php
@@ -19,6 +20,5 @@
document.body.appendChild(scr);
})
})([
- "//gist.github.com/os0x/184276/raw/addDefaultPrefix.js",
- "//gist.github.com/os0x/184276/raw/dollarX.js"
-])
+ "//example.com/example.js"
+])
(function (urls) {
urls.forEach(function (u) {
var scr = document.createElement("script");
scr.src = u;
document.body.appendChild(scr);
})
})([
"//example.com/example.js"
])
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。