This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////////// | |
// | |
//@title Op2ools.js | |
//@description おーぷん2ちゃんねるのスレで動くコンソールツール | |
//@include http://*.open2ch.net | |
//@private | |
// | |
//作った人: Awn(@Awn_tw) | |
// | |
//改定履歴 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////////// | |
// | |
//@title Op2oolsTester.js | |
//@description Op2oolsをテストするためのツール | |
//@include http://*.open2ch.net/ | |
//@private | |
// | |
//作った人: Awn(@Awn_tw) | |
// | |
//改定履歴 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////////// | |
// | |
//@title スレに書き込んだ名無しさんやコテさんを調べるスクリプト | |
//@include http://*.open2ch.net | |
//@private | |
// | |
//作った人: Awn(@Awn_tw) | |
// | |
//改定履歴 | |
//-20161025(ver 1.0.0): 作成 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////////// | |
// | |
//@title 別タブ常駐型ほぼ完全自動アク禁ブックマークレット | |
//@include http://*.open2ch.net | |
//@private | |
// | |
//作った人: Awn | |
// | |
//改定履歴 | |
//-20161011: とりあえず作ってみた。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////////// | |
// | |
//@title タイトル | |
//@description 説明 | |
//@include http://* | |
//@require http://... | |
//@private | |
// | |
//作った人: Awn(@Awn_tw) | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////////////////////////////////////////////// | |
// | |
//@title | |
//@description おーぷん2ちゃんねるのスレ情報をオブジェクト形式で取得する | |
//@include http://*.open2ch.net | |
//@private | |
// | |
//作った人: Awn(@Awn_tw) | |
// | |
//改定履歴 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
////////////////////////////////// | |
// | |
//gitコマンド | |
// | |
////////////////////////////////// | |
/************************************************************ | |
初回 | |
*************************************************************/ | |
//レポジトリを作る | |
#これはweb上でやってしまおう |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Util = {}; | |
Util.Array = (function() { | |
/* 以下、重複する要素を持たない配列を入力の前提としない */ | |
//恒等写像 | |
function _identity(arr) { | |
return arr.map(function(elm) { | |
return elm; }); | |
} | |
//重複除去 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// note: bbsmenuから bbsname -> bbsnameJ なJSONを作る | |
// ref: http://menu.open2ch.net/bbsmenu.html | |
var bbs = document.querySelectorAll("a"); | |
var outobj = {}; | |
for(var ix = 0, len = bbs.length; ix < len; ix++){ | |
if( (bbs[ix].href).indexOf("http://") > -1 ){ | |
outobj[ (bbs[ix].pathname).replace(/\//g,"") ] = bbs[ix].innerText; | |
} | |
} | |
JSON.stringify( outobj ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// inspired by | |
// - http://hayabusa.open2ch.net/test/read.cgi/news4vip/1480144511/251 | |
// - http://hayabusa.open2ch.net/test/read.cgi/news4vip/1479913077/827 | |
(function(d) { | |
_addMailValue(d); | |
_loop(d); | |
function _loop(d) { | |
$(d).ajaxComplete(function() { |
OlderNewer