// ==UserScript== // @name Dollchan Extension Tools // @version 12.6.17.1 // @namespace http://www.freedollchan.org/scripts/* // @author Sthephan Shinkufag @ FreeDollChan // @copyright (C)2084, Bender Bending Rodriguez // @description Doing some profit for imageboards // @icon https://raw.github.com/SthephanShinkufag/Dollchan-Extension-Tools/stable/Icon.png // @updateURL https://raw.github.com/SthephanShinkufag/Dollchan-Extension-Tools/stable/Dollchan_Extension_Tools.meta.js // @include * // ==/UserScript== (function (scriptStorage) { 'use strict'; var defaultCfg = { 'version': '12.6.17.1', 'language': 0, // script language [0=ru, 1=en] 'hideBySpell': 0, // hide posts by spells 'hideByWipe': 1, // antiwipe detectors: 'wipeSameLin': 1, // same lines 'wipeSameWrd': 1, // same words 'wipeLongWrd': 1, // long words 'wipeSpecial': 0, // special symbols 'wipeCAPS': 0, // cAsE, CAPS 'wipeNumbers': 1, // numbers 'filterThrds': 1, // apply filters to threads 'menuHiddBtn': 1, // menu on hide button 'viewHiddNum': 1, // view hidden on postnumber 'delHiddPost': 0, // delete hidden posts [0=off, 1=merge, 2=full hide] 'updThread': 1, // update threads [0=off, 1=auto, 2=click+count, 3=click] 'updThrIntrv': 2, // threads update interval 'favIcoBlink': 1, // favicon blinking, if new posts detected 'desktNotif': 0, // desktop notifications, if new posts detected 'expandPosts': 2, // expand shorted posts [0=off, 1=auto, 2=on click] 'expandImgs': 2, // expand images by click [0=off, 1=in post, 2=by center] 'maskImgs': 0, // mask images 'preLoadImgs': 0, // pre-load images 'findRarJPEG': 0, // detect rarJPEGs in images 'postBtnsTxt': 0, // show post buttons as text 'imgSrcBtns': 1, // add image search buttons 'noSpoilers': 1, // open spoilers 'noPostNames': 0, // hide post names 'noPostScrl': 1, // no scroll in posts 'keybNavig': 0, // keyboard navigation 'correctTime': 0, // correct time in posts 'timeOffset': '-2', // offset in hours 'timePattern': '', // replace pattern 'linksNavig': 2, // navigation by >>links [0=off, 1=no map, 2=+refmap] 'linksOver': '100', // delay appearance in ms 'linksOut': '1500', // delay disappearance in ms 'markViewed': 0, // mark viewed posts 'strikeHidd': 0, // strike >>links to hidden posts 'noNavigHidd': 0, // don't show previews for hidden posts 'insertNum': 1, // insert >>link on postnumber click 'addMP3': 1, // mp3 player by links 'addImgs': 1, // add images by links 'addYouTube': 3, // YouTube links embedder [0=off, 1=onclick, 2=player, 3=preview+player, 4=only preview] 'YTubeType': 0, // player type [0=flash, 1=HTML5