jQuire
@@ -1,8 +1,8 @@
/**
* @title jQuire
- * @description jQueryの最新版を読み込む
+ * @description jQueryの最新版を読み込みます。
* @include http://*
* @license MIT License
*/
-void(document.body.appendChild(document.createElement('script')).src='http://code.jquery.com/jquery-latest.min.js')
+(function(d){d.body.appendChild(d.createElement("script")).src=d.location.protocol+"//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"})(document)
/**
* @title jQuire
* @description jQueryの最新版を読み込みます。
* @include http://*
* @license MIT License
*/
(function(d){d.body.appendChild(d.createElement("script")).src=d.location.protocol+"//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"})(document)
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。