非公開 imgMiiverse

    @@ -15,7 +15,7 @@ var c = D.getElementsByClassName('screenshot-container'), u = c[0].innerHTML.replace(/.+?"(.+?)".+/, '$1'), m = D.createElement('div'); - m.innerHTML = '<input type="button" value="画像だけ表示" onClick="window.open(\'' + u + '\',\'_blank\',\'width=800,height=450\');" style="font-size:12px;"><br><b>画像URL</b><input type="text" value="' + u + '" readonly="true" onclick="this.select();" style="font-size:12px;"><br><small><b>※画像はおそらくjpegです</b><br><a href="http://let.hatelabo.jp/uzuky/let/hJmc4ICygZk_" target="_blank" title="version">' + V + '</a></small>'; + m.innerHTML = '<input type="button" value="画像だけ表示" onClick="window.open(\'' + u + '\',\'_blank\',\'width=800,height=450\');" style="font-size:12px;"><br><b>画像URL</b><input type="text" value="' + u + '" readonly="true" onclick="this.select();" style="font-size:12px;"><br><small><b>※画像はjpeg(3D表示対応のものはmpo)です</b><br><a href="http://let.hatelabo.jp/uzuky/let/hJmc4ICygZk_" target="_blank" title="version">' + V + '</a></small>'; m.style.textAlign = 'center'; m.style.padding = '10px'; m.style.position = 'fixed';
  • /*
     * @title imgMiiverse
     * @description Miiverseの投稿のスクリーンショットのURLを表示したりするだけ(Miiverseの投稿ページだとリサイズがかかってぼやけるからやだ)
     * @description Miiverseはhttps:(でHatena::Letはhttp:)なので以下のコードを全てブックマーク内に埋め込むようにしてるため,ブラウザによっては動作しないかもしれません(古いIEだとURL欄の文字数制限があったりする)
     * @description ✱スクリーンショットがない投稿とかの処理忘れてたからあとで書く✱最後の処理が変だったからあとで書く
     * @license MIT License
     * @javascript_url
     */
    
    javascript: (function () {
    	var D = document,
    		H = D.location.href,
    		V = 'v131229';
    	if (H.match(/s:\/\/miiverse\.nintendo\.net\/posts\//)) {
    		var c = D.getElementsByClassName('screenshot-container'),
    			u = c[0].innerHTML.replace(/.+?"(.+?)".+/, '$1'),
    			m = D.createElement('div');
    		m.innerHTML = '<input type="button" value="画像だけ表示" onClick="window.open(\'' + u + '\',\'_blank\',\'width=800,height=450\');" style="font-size:12px;"><br><b>画像URL</b><input type="text" value="' + u + '" readonly="true" onclick="this.select();" style="font-size:12px;"><br><small><b>※画像はjpeg(3D表示対応のものはmpo)です</b><br><a href="http://let.hatelabo.jp/uzuky/let/hJmc4ICygZk_" target="_blank" title="version">' + V + '</a></small>';
    		m.style.textAlign = 'center';
    		m.style.padding = '10px';
    		m.style.position = 'fixed';
    		m.style.zIndex = '9999';
    		m.style.fontSize = '12px';
    		m.style.border = '1px solid rgba(79,175,0,0.5)';
    		m.style.left = '20px';
    		m.style.bottom = '20px';
    		m.style.background = 'rgba(90,200,0,0.5)';
    		document.body.appendChild(m);
    	} else {
    		var t = confirm('Miiverceのスクリーンショット付きpost個別ページで使えます。\nhttps://miiverse.nintendo.net/\nに移動しますか?');
    		if (t == true) {
    			window.open('https://miiverse.nintendo.net/');
    		} else {
    			return 0();
    		}
    	}
    })();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2018/04/03 22:08:13 - 2018-04-03
  2. 2014/01/01 17:23:29 - 2014-01-01
  3. 2013/12/30 06:42:01 - 2013-12-30
  4. 2013/12/30 06:38:37 - 2013-12-30
  5. 2013/12/30 06:27:52 - 2013-12-30
  6. 2013/12/30 06:23:05 - 2013-12-30
  7. 2013/12/30 06:15:39 - 2013-12-30
  8. 2013/12/30 06:05:58 - 2013-12-30
  9. 2013/12/30 05:12:03 - 2013-12-30
  10. 2013/12/30 04:12:12 - 2013-12-30
  11. 2013/12/30 04:11:22 - 2013-12-30
  12. 2013/12/30 04:09:59 - 2013-12-30
  13. 2013/12/30 04:05:00 - 2013-12-30
  14. 2013/12/30 03:06:28 - 2013-12-30
  15. 2013/12/30 02:45:11 - 2013-12-30
  16. 2013/12/29 21:35:01 - 2013-12-29
  17. 2013/12/29 21:29:08 - 2013-12-29
  18. 2013/12/29 21:28:09 - 2013-12-29
  19. 2013/12/29 21:27:16 - 2013-12-29
  20. 2013/12/29 21:20:34 - 2013-12-29
  21. 2013/12/29 21:19:40 - 2013-12-29
  22. 2013/12/29 21:17:19 - 2013-12-29
  23. 2013/12/29 21:17:12 - 2013-12-29
  24. 2013/12/29 21:14:47 - 2013-12-29
  25. 2013/12/29 21:13:16 - 2013-12-29
  26. 2013/12/29 21:12:05 - 2013-12-29
  27. 2013/12/29 21:11:00 - 2013-12-29
  28. 2013/12/29 21:04:39 - 2013-12-29
  29. 2013/12/29 20:59:58 - 2013-12-29
  30. 2013/12/29 20:40:15 - 2013-12-29
  31. 2013/12/29 20:25:54 - 2013-12-29
  32. 2013/12/29 20:21:46 - 2013-12-29
  33. 2013/12/29 20:19:45 - 2013-12-29
  34. 2013/12/29 20:18:07 - 2013-12-29
  35. 2013/12/17 19:07:26 - 2013-12-17