toPCver
by
TransFreeBSD
2014-11-13 [2014/11/13 22:52:18]
はてなダイアリーのスマホ版からPC版に切り替える( http://q.hatena.ne.jp/1415832628 への対応)
@@ -5,4 +5,4 @@
* @license MIT License
* @javascript_url
*/
-javascript:location.search = "smartphone_view=0&pcurl="+encodeURIComponent(location.toString().replace("/touch/","/"))
+location.search = "smartphone_view=0&pcurl="+encodeURIComponent(location.toString().replace("/touch/","/"))
/*
* @title toPCver
* @description はてなダイアリーのスマホ版からPC版に切り替える( http://q.hatena.ne.jp/1415832628 への対応)
* @include http://d.hatena.ne.jp/
* @license MIT License
* @javascript_url
*/
location.search = "smartphone_view=0&pcurl="+encodeURIComponent(location.toString().replace("/touch/","/"))
- Permalink
- このページへの個別リンクです。
- RAW
- 書かれたコードへの直接のリンクです。
- Packed
- 文字列が圧縮された書かれたコードへのリンクです。
- Userscript
- Greasemonkey 等で利用する場合の .user.js へのリンクです。
- Loader
- @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
- Metadata
- コード中にコメントで @xxx と書かれたメタデータの JSON です。