Greasy Fork is available in English.

去繁留简-繁简转换 (Webistes with lang zh)

网页上的繁体中文字转为简体。

  1. // ==UserScript==
  2. // @name 去繁留简-繁简转换 (Webistes with lang zh)
  3. // @namespace https://greasyfork.org/en/users/28298
  4. // @description 网页上的繁体中文字转为简体。
  5. // @author 古海沉舟 (Jerry Modified)
  6. // @license 古海沉舟
  7. // @version 2.11
  8. // @include *
  9. // @exclude *pan.baidu.com*
  10. // @exclude *hdslb.com*
  11. // @exclude *douyin.com*
  12. // @exclude *huya.com*
  13. // @exclude *mihoyo.com*
  14. // @exclude *live.bilibili.com*
  15. // @exclude *translate.google*
  16. // @exclude *fanyi.baidu.com*
  17. // @exclude file://*
  18. // ==/UserScript==
  19. var chtList='饑寳絃拚説諡摃谘罎騒渖鬨榦牠罎糰囌陞鞦麯韆縴闢衊麵濛矇懞徾蔴滷纍釐暦崑崐綑睏稭藉鑑薑蹟閤鼕僱閧漥韤僞蓆銹镟醎巖籲紮劄鑚竈癥剳纔紥彙痠爲麽鷄綫丟亂亞佇來侖侶俁俔俠倀倆倉個們倫偉側偵偽傖傘備傯傳傴債傷傾僂僅僉僑僥僨儀儂億儈儉儐儔儕償儲儷儸儺儻儼兌兗內兩冊冪凈凍凜凱別刪剄則剎剛剝剮剴創劇劉劊劌劍劑勁動務勛勞勢勩勱勵勸勻匭匱區協卻厙厭厲厴參叢吳吶呂咼員唄唚問啞啟啢喎喚喪喬單喲嗆嗇嗊嗎嗚嗩嗶嘆嘍嘔嘖嘗嘜嘩嘮嘯嘰嘵嘸嘽噓噚噠噥噦噯噲噴嚀嚇嚌嚕嚙嚦嚨嚲嚳嚴嚶囀囁囂囅囈囑囪圇國圍園圓圖團垵埡執堅堊堝堯報場塊塋塏塒塢塤塵塹墊墜墮墳墾壓壘壙壚壟壢壩壯壺壼壽夠夢夾奐奧奩奪奮奼妝姍娛婁婦婭媧媯媼媽嫗嫵嫻嫿嬈嬋嬌嬙嬡嬤嬪嬰嬸孌孫學孿宮寢實審寫寬寵寶將專尋對導尷屆屜屢層屨屬岡峴島峽崍崗崢嵐嶁嶄嶇嶔嶗嶠嶢嶧嶮嶴嶸嶼巋巒巔巰帥師帳帶幀幃幗幘幟幣幫幬庫廁廂廄廈廚廝廟廡廢廣廩廬廳弒弳張強彈彌彎彥徑從徠徹恆恥悅悵悶惡惱惲惻愛愜愨愴愷愾態慍慘慚慟慣慪慫慮慳慶憂憊憑憒憚憤憫憮憲憶懇應懌懍懟懣懨懲懶懸懼懾戀戇戔戧戩戰戲戶拋挩挾捫掃掄掗掙揀揚換揮損搖搗搵搶摑摜摟摯摳摶摻撈撏撐撓撝撟撣撥撫撳撻撾撿擁擄擇擊擋擔擠擬擯擰擱擲擴擷擺擻擼攄攆攏攔攖攙攛攜攝攢攣攤攪攬敗敘敵數斂斃斕斬斷時晉晝暈暉暘暢暫曄曇曉曖曠曨書會朧東杴柵梔條梟梲棄棖棗棟棧棶椏楊楓楨業榪榮榿槍槧槨槳樁樂樅樓標樞樣樹樺橈橋橢橫檁檉檔檜檟檢檣檮檳檸檻櫓櫚櫛櫝櫞櫟櫥櫧櫨櫪櫫櫬櫱櫳櫸櫻欄權欏欒欖欞欽歐歟歡歲歸歿殘殞殤殫殮殯殰殲殺殼毀毆毿氂氈氌氫氬氳決沒況洶浹涇涼淚淥淪淵淶淺渙減渦測渾湊湞湯溈溝溫滄滅滌滎滬滯滲滸滻滾滿漁漚漢漣漬漲漵漸漿潁潑潛潤潯潰潷潿澀澆澇澗澠澤澦澩澮濁濃濕濟濤濫濰濱濺濼濾瀅瀆瀇瀉瀏瀕瀘瀝瀟瀠瀦瀧瀨瀲瀾灃灄灘灝灠灣灤災為烏烴無煉煒煙煢煥煩煬熅熒熗熱熲熾燁燈燒燙燜營燦燭燴燼燾爍爐爛爭爺爾牆牘牽犖犢犧狀狹狽猙猶猻獄獅獎獨獪獫獮獰獵獷獸獺獻獼玀現琺琿瑋瑒瑣瑤瑩瑪瑲璉璣璦璫環璽瓊瓏瓔瓚甌產畝畢疇疊痙痾瘋瘍瘓瘞瘡瘧瘲瘺療癆癇癉癘癟癤癩癬癭癮癰癱癲皚皰皸皺盜盞監盤盧眥眾睜睞瞜瞞瞶瞼矓矚矯硜硤硨硯碩碭碼磑磚磣磧磯磽礎礙礦礪礫礬礱祿禍禎禕禡禪禮禰禱禿秈稅稈稟稱穌積穎穠穡穢穩穭窩窮窯窵窶窺竄竅竇竊競筆筍筧筴箋箏節篋篔篤篩篳簀簍簞簡簣簫簹簽籃籌籙籜籟籠籩籪籮粵糝糞糧糲糴糶糾紀紂約紅紆紇紈紉紋納紐紓純紕紖紗紘紙級紛紜紝紡紬細紱紲紳紵紹紺紼紿絀終組絅絆絎結絕絛絞絡絢給絨絰統絲絳絹綁綃綆綈綌綏經綜綞綠綢綣綬維綯綰綱綴綵綸綹綺綻綽綾綿緄緇緊緋緒緗緘緙線緝緞締緡緣緦編緩緬緯緱緲練緶緹縈縉縊縋縐縑縕縗縛縝縞縟縣縫縭縮縱縲縳縵縶縷縹總績繃繅繆繒織繕繚繞繡繢繩繪繯繰繳繸繹繼繽繾纈纊續纏纓纖纘纜缽罌罰罵罷羅羆羈羋羥義習翹耬聞聯聰聲聳聵聶職聹聾肅脅脈脛脫脹腎腡腦腫腳腸膃膚膠膩膽膾膿臉臍臏臚臠臢臨興舉舊艙艤艦艫艱艷芻苧茲荊莖莢莧華萇萊萵葉葒葦葷蒔蒞蒼蓀蓋蓮蓯蓴蓽蔞蔣蔥蔦蔭蕁蕆蕎蕕蕘蕢蕪蕭蕷薀薈薊薌薔薘薟薩薳薺藍藎藝藪藶藹藺蘄蘆蘇蘊蘚蘞蘢蘭蘺蘿處虛虜號虧虯蛺蛻蜆蝕蝟蝦蝸螄螞螢螮螻螿蟄蟈蟬蟯蟶蟻蠅蠆蠐蠑蠣蠨蠱蠻術衛袞裊補裝褌褘褲褳褸褻襏襖襝襠襤襪襬襯襲見規覓視覘覡覦親覬覯覲覷覺覽覿觀觴觶訂訃計訊訌討訐訒訓訕訖託記訛訝訟訢訣訥訪設許訴訶診詁詆詎詐詒詔評詖詗詘詛詞詠詡詢詣試詩詫詬詭詮詰話該詳詵詼詿誄誅誆認誑誒誕誘誚語誠誡誣誤誥誦誨說誰課誶誹誼誾調諂諄談諉請諍諏諑諒論諗諛諜諝諞諢諤諦諧諫諭諮諱諳諶諷諸諺諼諾謀謁謂謄謅謊謎謐謔謖謗謙謚講謝謠謨謫謬謳謹謾譅證譎譏譖識譙譚譜譫譯議譴護譸譽譾讀變讎讒讓讕讖讜讞豈豎豬豶貓貙貝貞負財貢貧貨販貪貫責貯貰貲貳貴貶買貸貺費貼貽貿賀賁賂賃賄賅資賈賊賑賒賓賕賙賚賜賞賠賡賢賣賤賦賧質賬賭賰賴賵賺賻購賽賾贄贅贇贈贊贍贏贐贓贔贖贗贛赬趙趨趲跡踐蹌蹕蹣蹤蹺躂躉躊躋躍躑躒躓躕躚躡躥躦躪軀車軋軌軍軑軒軔軛軟軫軸軹軺軻軼軾較輅輇輈載輊輒輔輕輛輜輝輞輟輥輦輩輪輬輯輳輸輻輾輿轀轂轄轅轆轉轍轎轔轟轡轢轤辦辭辮辯農逕這連進運過達違遙遜遞遠遲遷選遺遼邁還邇邊邏邐郟郵鄆鄉鄒鄔鄖鄧鄭鄰鄲鄴鄶鄺酇酈醞醫醬醱釀釁釃釅釋釓釔釕釗釘釙針釣釤釧釩釵釷釹鈀鈁鈃鈄鈉鈍鈐鈑鈒鈔鈕鈞鈣鈥鈦鈧鈮鈰鈳鈴鈷鈸鈹鈺鈽鈾鈿鉀鉅鉈鉉鉋鉍鉑鉗鉚鉛鉞鉤鉦鉬鉭鉶鉸鉺鉻鉿銀銃銅銍銑銓銖銘銚銛銜銠銣銥銦銨銩銪銫銬銳銷銻銼鋁鋃鋅鋇鋌鋏鋒鋙鋝鋟鋤鋦鋨鋩鋪鋮鋯鋰鋱鋸鋼錁錄錆錈錏錐錒錕錙錚錛錟錠錡錢錦錨錩錫錮錯錳錸鍆鍇鍋鍍鍔鍘鍚鍛鍠鍤鍥鍬鍰鍵鍶鍺鎂鎊鎔鎖鎘鎛鎡鎢鎣鎦鎧鎩鎪鎬鎮鎰鎲鎳鎵鏃鏇鏈鏌鏍鏐鏑鏗鏘鏜鏝鏞鏟鏡鏢鏤鏨鏵鏷鏹鏽鐃鐋鐐鐒鐓鐔鐙鐠鐨鐫鐮鐲鐳鐵鐶鐸鐺鐿鑄鑊鑌鑒鑕鑞鑠鑣鑭鑰鑱鑲鑷鑼鑽鑾鑿钁長門閂閃閆閈閉開閌閎閏閑間閔閘閡閣閥閨閩閫閬閭閱閶閹閻閼閽閾閿闃闈闊闋闌闍闐闒闓闔闕闖關闞闠闡闤闥阪陘陝陣陰陳陸陽隉隊階隕際隨險隱隴隸雋雖雙雛雜雞難電霢霧霽靂靄靈靚靜靨鞀鞏鞝韁韃韉韋韌韍韓韙韜韞韻響頁頂頃項順頇頊頌頎頏預頑頒頓頗領頜頡頤頦頭頰頲頷頸頹頻顆題額顎顏顒顓顙顛類顢顥顧顫顯顰顱顳顴風颭颮颯颶颸颺颻颼飀飄飆飛飣飥飩飪飫飭飯飲飴飼飽飾餃餅餉養餌餑餒餓餕餖餛餞餡館餱餳餺餼餾餿饁饃饅饈饉饋饌饒饗饜饞馬馭馮馱馳馴馹駁駐駑駒駔駕駘駙駛駝駟駢駭駰駱駸駿騁騂騅騍騎騏騖騙騤騧騫騭騮騰騶騷騸騾驀驁驂驃驄驅驊驌驍驏驕驗驛驟驢驤驥驦驪驫髏髕髖鬢鬧鬩鬮魎魘魚魛魨魯魴魷魺鮐鮑鮒鮓鮚鮞鮦鮪鮫鮭鮮鮶鯀鯁鯇鯉鯊鯔鯕鯖鯗鯛鯡鯢鯤鯧鯨鯪鯫鯷鯽鰈鰉鰍鰒鰓鰜鰣鰥鰨鰩鰭鰱鰲鰳鰷鰹鰻鰼鰾鱈鱉鱒鱔鱖鱗鱘鱟鱠鱣鱧鱨鱭鱷鱸鱺鳥鳧鳩鳲鳳鳴鳶鴆鴇鴉鴒鴕鴛鴝鴞鴟鴣鴦鴨鴯鴰鴷鴻鴿鵁鵂鵃鵑鵒鵓鵜鵝鵠鵡鵪鵬鵯鵲鵷鶄鶇鶉鶊鶖鶘鶚鶡鶩鶪鶬鶯鶲鶴鶹鶺鶻鶼鶿鷁鷂鷈鷊鷓鷖鷗鷙鷚鷥鷦鷫鷯鷲鷳鷸鷹鷺鷽鷿鸂鸇鸏鸕鸚鸛鸝鸞鹺鹽麗麥麩黃黌點黲黶黷黽黿鼉鼴齊齋齎齏齒齔齕齗齙齜齟齠齡齦齪齬齲齶齷龍龐龔龕龜匯壇歷沖獲當盡臟葯蕩錘須飢鹵發藥㠏㩜䋻䝼䯀䰾䱽䲁倈剗劏劚噝壋壠屓崬悞擓梘榲灧煱燶獁獱瘂癧瞘碸礆糹絝緓繿耮腖葤蕒蟎襇覥訩貟軤軲釺鈈鉕銱鋣鋥鋶錇鍀鍃鍈鍩鎄鎇鎿鏰鐦鐧鑔鑥鑹鞽頮頴顬飈飠餎餜餷饊饢騌鮁鮃鮋鮍鮎鯝鯴鯿鰂鰟鰠鰵鰺鱅鱝鴴鵐鵮鵾鶓鶥鸌鸘龎䋙堖訁釒䊷戱槤殨瘮稏綐覎飿餄餏餶魢鮊鮜鮳鮺鯒鰁鰃鰏鰮鱂鱤鱯鳾傑傭僕價優兒劃勝噸塗壞姦寧屍嶺幾廠後徵憐懷懺捨掛撲據擾於曬桿棲極構樸機櫃氣潔澱濘灑燉異癢確禦種窪範築簾籬網繭聖聽臘與莊萬薦蘋蟣蟲蠟蠶製觸註誇豐趕踴輓適醜離雲願颳餚驚骯體鬆鬥鬱鹹麼黨採並係幹復隻裡瀋畫鍾鐘靦餘鯰鹼嵗鵰衝兇噁髮唷爲麽複蔔準囉慾豔髒讚頌歎遊週閒緻讬癒暱誌餵臺槓檯癡舖闆裏妳壹覚亀発砲禸圎啓迴捲睇佢囉溼锺湧鍊矽菸籤盪齣齧黴伕佔侷偺儘淒剋剷勳卹唸喫嚮嚥塚墝壎嬭屭崙嶽彆彫徬慄慇慴慼懽ㄧ淨嚐骻佈羶氾瀰繫夥鬍撃欬盃馀嗮甦欸鬚洩姊鉢揹颱曆';
  20. var chsList='饥宝弦拼说谥扛咨坛骚沈哄干它坛团苏升秋曲千纤辟蔑面蒙蒙蒙霉麻卤累厘历昆昆捆困秸借鉴姜迹合冬雇哄洼袜伪席锈旋咸岩吁扎札钻灶症札才扎汇酸为么鸡线丢乱亚伫来仑侣俣伣侠伥俩仓个们伦伟侧侦伪伧伞备偬传伛债伤倾偻仅佥侨侥偾仪侬亿侩俭傧俦侪偿储俪㑩傩傥俨兑兖内两册幂净冻凛凯别删刭则刹刚剥剐剀创剧刘刽刿剑剂劲动务勋劳势勚劢励劝匀匦匮区协却厍厌厉厣参丛吴呐吕呙员呗吣问哑启唡㖞唤丧乔单哟呛啬唝吗呜唢哔叹喽呕啧尝唛哗唠啸叽哓呒啴嘘㖊哒哝哕嗳哙喷咛吓哜噜啮呖咙亸喾严嘤啭嗫嚣冁呓嘱囱囵国围园圆图团埯垭执坚垩埚尧报场块茔垲埘坞埙尘堑垫坠堕坟垦压垒圹垆垄坜坝壮壶壸寿够梦夹奂奥奁夺奋姹妆姗娱娄妇娅娲妫媪妈妪妩娴婳娆婵娇嫱嫒嬷嫔婴婶娈孙学孪宫寝实审写宽宠宝将专寻对导尴届屉屡层屦属冈岘岛峡崃岗峥岚嵝崭岖嵚崂峤峣峄崄岙嵘屿岿峦巅巯帅师帐带帧帏帼帻帜币帮帱库厕厢厩厦厨厮庙庑废广廪庐厅弑弪张强弹弥弯彦径从徕彻恒耻悦怅闷恶恼恽恻爱惬悫怆恺忾态愠惨惭恸惯怄怂虑悭庆忧惫凭愦惮愤悯怃宪忆恳应怿懔怼懑恹惩懒悬惧慑恋戆戋戗戬战戏户抛捝挟扪扫抡挜挣拣扬换挥损摇捣揾抢掴掼搂挚抠抟掺捞挦撑挠㧑挢掸拨抚揿挞挝捡拥掳择击挡担挤拟摈拧搁掷扩撷摆擞撸摅撵拢拦撄搀撺携摄攒挛摊搅揽败叙敌数敛毙斓斩断时晋昼晕晖旸畅暂晔昙晓暧旷昽书会胧东锨栅栀条枭棁弃枨枣栋栈梾桠杨枫桢业杩荣桤枪椠椁桨桩乐枞楼标枢样树桦桡桥椭横檩柽档桧槚检樯梼槟柠槛橹榈栉椟橼栎橱槠栌枥橥榇蘖栊榉樱栏权椤栾榄棂钦欧欤欢岁归殁残殒殇殚殓殡㱩歼杀壳毁殴毵牦毡氇氢氩氲决没况汹浃泾凉泪渌沦渊涞浅涣减涡测浑凑浈汤沩沟温沧灭涤荥沪滞渗浒浐滚满渔沤汉涟渍涨溆渐浆颍泼潜润浔溃滗涠涩浇涝涧渑泽滪泶浍浊浓湿济涛滥潍滨溅泺滤滢渎㲿泻浏濒泸沥潇潆潴泷濑潋澜沣滠滩灏漤湾滦灾为乌烃无炼炜烟茕焕烦炀煴荧炝热颎炽烨灯烧烫焖营灿烛烩烬焘烁炉烂争爷尔墙牍牵荦犊牺状狭狈狰犹狲狱狮奖独狯猃狝狞猎犷兽獭献猕猡现珐珲玮玚琐瑶莹玛玱琏玑瑷珰环玺琼珑璎瓒瓯产亩毕畴叠痉疴疯疡痪瘗疮疟疭瘘疗痨痫瘅疠瘪疖癞癣瘿瘾痈瘫癫皑疱皲皱盗盏监盘卢眦众睁睐䁖瞒瞆睑眬瞩矫硁硖砗砚硕砀码硙砖碜碛矶硗础碍矿砺砾矾砻禄祸祯祎祃禅礼祢祷秃籼税秆禀称稣积颖秾穑秽稳稆窝穷窑窎窭窥窜窍窦窃竞笔笋笕䇲笺筝节箧筼笃筛筚箦篓箪简篑箫筜签篮筹箓箨籁笼笾簖箩粤糁粪粮粝籴粜纠纪纣约红纡纥纨纫纹纳纽纾纯纰纼纱纮纸级纷纭纴纺䌷细绂绁绅纻绍绀绋绐绌终组䌹绊绗结绝绦绞络绚给绒绖统丝绛绢绑绡绠绨绤绥经综缍绿绸绻绶维绹绾纲缀䌽纶绺绮绽绰绫绵绲缁紧绯绪缃缄缂线缉缎缔缗缘缌编缓缅纬缑缈练缏缇萦缙缢缒绉缣缊缞缚缜缟缛县缝缡缩纵缧䌸缦絷缕缥总绩绷缫缪缯织缮缭绕绣缋绳绘缳缲缴䍁绎继缤缱缬纩续缠缨纤缵缆钵罂罚骂罢罗罴羁芈羟义习翘耧闻联聪声耸聩聂职聍聋肃胁脉胫脱胀肾脶脑肿脚肠腽肤胶腻胆脍脓脸脐膑胪脔臜临兴举旧舱舣舰舻艰艳刍苎兹荆茎荚苋华苌莱莴叶荭苇荤莳莅苍荪盖莲苁莼荜蒌蒋葱茑荫荨蒇荞莸荛蒉芜萧蓣蕰荟蓟芗蔷荙莶萨䓕荠蓝荩艺薮苈蔼蔺蕲芦苏蕴藓蔹茏兰蓠萝处虚虏号亏虬蛱蜕蚬蚀猬虾蜗蛳蚂萤䗖蝼螀蛰蝈蝉蛲蛏蚁蝇虿蛴蝾蛎蟏蛊蛮术卫衮袅补装裈袆裤裢褛亵袯袄裣裆褴袜䙓衬袭见规觅视觇觋觎亲觊觏觐觑觉览觌观觞觯订讣计讯讧讨讦讱训讪讫讬记讹讶讼䜣诀讷访设许诉诃诊诂诋讵诈诒诏评诐诇诎诅词咏诩询诣试诗诧诟诡诠诘话该详诜诙诖诔诛诓认诳诶诞诱诮语诚诫诬误诰诵诲说谁课谇诽谊訚调谄谆谈诿请诤诹诼谅论谂谀谍谞谝诨谔谛谐谏谕谘讳谙谌讽诸谚谖诺谋谒谓誊诌谎谜谧谑谡谤谦谥讲谢谣谟谪谬讴谨谩䜧证谲讥谮识谯谭谱谵译议谴护诪誉谫读变雠谗让谰谶谠谳岂竖猪豮猫䝙贝贞负财贡贫货贩贪贯责贮贳赀贰贵贬买贷贶费贴贻贸贺贲赂赁贿赅资贾贼赈赊宾赇赒赉赐赏赔赓贤卖贱赋赕质账赌䞐赖赗赚赙购赛赜贽赘赟赠赞赡赢赆赃赑赎赝赣赪赵趋趱迹践跄跸蹒踪跷跶趸踌跻跃踯跞踬蹰跹蹑蹿躜躏躯车轧轨军轪轩轫轭软轸轴轵轺轲轶轼较辂辁辀载轾辄辅轻辆辎辉辋辍辊辇辈轮辌辑辏输辐辗舆辒毂辖辕辘转辙轿辚轰辔轹轳办辞辫辩农迳这连进运过达违遥逊递远迟迁选遗辽迈还迩边逻逦郏邮郓乡邹邬郧邓郑邻郸邺郐邝酂郦酝医酱酦酿衅酾酽释钆钇钌钊钉钋针钓钐钏钒钗钍钕钯钫钘钭钠钝钤钣钑钞钮钧钙钬钛钪铌铈钶铃钴钹铍钰钸铀钿钾钜铊铉铇铋铂钳铆铅钺钩钲钼钽铏铰铒铬铪银铳铜铚铣铨铢铭铫铦衔铑铷铱铟铵铥铕铯铐锐销锑锉铝锒锌钡铤铗锋铻锊锓锄锔锇铓铺铖锆锂铽锯钢锞录锖锩铔锥锕锟锱铮锛锬锭锜钱锦锚锠锡锢错锰铼钔锴锅镀锷铡钖锻锽锸锲锹锾键锶锗镁镑镕锁镉镈镃钨蓥镏铠铩锼镐镇镒镋镍镓镞镟链镆镙镠镝铿锵镗镘镛铲镜镖镂錾铧镤镪锈铙铴镣铹镦镡镫镨镄镌镰镯镭铁镮铎铛镱铸镬镔鉴锧镴铄镳镧钥镵镶镊锣钻銮凿镢长门闩闪闫闬闭开闶闳闰闲间闵闸阂阁阀闺闽阃阆闾阅阊阉阎阏阍阈阌阒闱阔阕阑阇阗阘闿阖阙闯关阚阓阐阛闼坂陉陕阵阴陈陆阳陧队阶陨际随险隐陇隶隽虽双雏杂鸡难电霡雾霁雳霭灵靓静靥鼗巩绱缰鞑鞯韦韧韨韩韪韬韫韵响页顶顷项顺顸顼颂颀颃预顽颁顿颇领颌颉颐颏头颊颋颔颈颓频颗题额颚颜颙颛颡颠类颟颢顾颤显颦颅颞颧风飐飑飒飓飔飏飖飕飗飘飙飞饤饦饨饪饫饬饭饮饴饲饱饰饺饼饷养饵饽馁饿馂饾馄饯馅馆糇饧馎饩馏馊馌馍馒馐馑馈馔饶飨餍馋马驭冯驮驰驯驲驳驻驽驹驵驾骀驸驶驼驷骈骇骃骆骎骏骋骍骓骒骑骐骛骗骙䯄骞骘骝腾驺骚骟骡蓦骜骖骠骢驱骅骕骁骣骄验驿骤驴骧骥骦骊骉髅髌髋鬓闹阋阄魉魇鱼鱽鲀鲁鲂鱿鲄鲐鲍鲋鲊鲒鲕鲖鲔鲛鲑鲜鲪鲧鲠鲩鲤鲨鲻鲯鲭鲞鲷鲱鲵鲲鲳鲸鲮鲰鳀鲫鲽鳇鳅鳆鳃鳒鲥鳏鳎鳐鳍鲢鳌鳓鲦鲣鳗鳛鳔鳕鳖鳟鳝鳜鳞鲟鲎鲙鳣鳢鲿鲚鳄鲈鲡鸟凫鸠鸤凤鸣鸢鸩鸨鸦鸰鸵鸳鸲鸮鸱鸪鸯鸭鸸鸹䴕鸿鸽䴔鸺鸼鹃鹆鹁鹈鹅鹄鹉鹌鹏鹎鹊鹓䴖鸫鹑鹒鹙鹕鹗鹖鹜䴗鸧莺鹟鹤鹠鹡鹘鹣鹚鹢鹞䴘鹝鹧鹥鸥鸷鹨鸶鹪鹔鹩鹫鹇鹬鹰鹭鸴䴙㶉鹯鹲鸬鹦鹳鹂鸾鹾盐丽麦麸黄黉点黪黡黩黾鼋鼍鼹齐斋赍齑齿龀龁龂龅龇龃龆龄龈龊龉龋腭龌龙庞龚龛龟汇坛历冲获当尽脏药荡锤须饥卤发药㟆㨫䌾䞍䯅鲃䲝鳚俫刬㓥㔉咝垱垅屃岽悮㧟枧榅滟㶽㶶犸㺍痖疬眍砜硷纟绔绬䍀耢胨荮荬螨裥觍讻贠轷轱钎钚钷铞铘锃锍锫锝锪锳锘锿镅镎镚锎锏镲镥镩鞒颒颕颥飚饣饹馃馇馓馕骔鲅鲆鲉鲏鲇鲴鲺鳊鲗鳑鳋鳘鲹鳙鲼鸻鹀鹐鹍鹋鹛鹱鹴厐䌺垴讠钅䌶戯梿㱮瘆䅉䌼觃饳饸饻馉鱾鲌鲘鲓鲝鲬鳈鳂鲾鳁鳉鳡鳠䴓杰佣仆价优儿划胜吨涂坏奸宁尸岭几厂后征怜怀忏舍挂扑据扰于晒杆栖极构朴机柜气洁淀泞洒炖异痒确御种洼范筑帘篱网茧圣听腊与庄万荐苹虮虫蜡蚕制触注夸丰赶踊挽适丑离云愿刮肴惊肮体松斗郁咸么党采并系干复只里渖画钟钟䩄余鲶碱岁雕冲凶恶发哟为么复卜准啰欲艳脏赞颂叹游周闲致托愈昵志喂台杠台痴铺板里你一觉龟发炮肉圆启回卷看他啰湿钟涌炼硅烟签荡出啮霉夫占局咱尽凄克铲勋恤念吃向咽冢硗埙奶屃仑岳别雕彷栗殷慑戚欢一净尝胯布膻泛弥系伙胡击咳杯余晒苏诶须泄姐钵背台历';
  21. var bf;
  22. function handleTextNode(pNode){
  23. var childs;
  24. if(pNode){
  25. childs=pNode.childNodes;
  26. }else{
  27. childs=document.documentElement.childNodes;
  28. }
  29. if(childs){
  30. for(var i=0;i<childs.length;i++){
  31. var child=childs.item(i);
  32. //if(/SCRIPT|HR|TEXTAREA/.test(child.tagName))continue;
  33. if(child.title){
  34. let title=conv(child.title);
  35. if(child.title != title){
  36. child.title=title;
  37. }
  38. }
  39. if(child.alt){
  40. let alt=conv(child.alt);
  41. if(child.alt != alt){
  42. child.alt=alt;
  43. }
  44. }
  45. if(child.tagName == "INPUT" && child.value !== "" && child.type != "text" && child.type != "search" && child.type != "hidden"){
  46. let value=conv(child.value);
  47. if(child.value != value){
  48. child.value=value;
  49. }
  50. }else if(child.nodeType == 3){
  51. let data=conv(child.data);
  52. if(child.data != data){
  53. child.data=data;
  54. }
  55. }else handleTextNode(child);
  56. }
  57. }
  58. }
  59.  
  60. function conv(str){
  61. if(!str)return "";
  62. var ret='', index, cha,l=str.length;
  63. for(var i=0;i<str.length;i++){
  64. cha=str.charAt(i);
  65. if(cha.charCodeAt(0) > 1000){
  66. index=chtList.indexOf(cha);
  67. if(index != -1) {ret+=chsList.charAt(index);}
  68. else{
  69. switch(str.charAt(i))
  70. {
  71. case "乾":
  72. cha = "乾";
  73. if ( i+1<l ) {if (str.charAt(i+1) == "乾" && str.charAt(i+2) == "淨" ) {cha = "干";}}
  74. var j = i + 1;
  75. if ( j < l ) {
  76. if ( str.charAt(j) == "爹" ||str.charAt(j) == "爸" ||str.charAt(j) == "妈" ||str.charAt(j) == "娘" ||str.charAt(j) == "脆" ||str.charAt(j) == "净" ||str.charAt(j) == "淨" || str.charAt(j) == "燥" || str.charAt(j) == "糙" || str.charAt(j) == "旱"|| str.charAt(j) == "枯" || str.charAt(j) == "柴"|| str.charAt(j) == "竭") {cha = "干";}
  77. }
  78. j = i - 1;
  79. if ( i > 0 ) {if ( str.charAt(j) == "餅" || str.charAt(j) == "腐" ) {cha = "干";}}
  80. break;
  81. case "は":
  82. cha = "无";
  83. j = i + 1;
  84. if ( j < l ) {if ( str.charAt(j) != "套" ) {cha = "は";}}
  85. break;
  86. case "著":
  87. cha = "着";
  88. j = i + 1;
  89. if ( j < l ) {
  90. if ( str.charAt(j) == "乎" || str.charAt(j) == "作" || str.charAt(j) == "名") {cha = "著";}
  91. }
  92. j = i - 1;
  93. if ( i > 0 ) {
  94. if ( str.charAt(j) == "於" || str.charAt(j) == "名" || str.charAt(j) == "原" || str.charAt(j) == "专") {cha = "著";}
  95. }
  96. break;
  97. default:
  98. break;
  99. }
  100. ret+=cha;
  101. }
  102. }
  103. else ret+=cha;
  104. }
  105. return ret;
  106. }
  107.  
  108. const progress = function(){
  109. // Jerry
  110. if (document.documentElement.lang.indexOf('zh') <= -1) {return};
  111.  
  112. var lhref=window.location.href;
  113. setTimeout(function(){
  114.  
  115. bf=document.body;
  116. handleTextNode(bf);
  117. document.body=bf;
  118.  
  119. var MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
  120. var observer = new MutationObserver(function(records){
  121. records.map(function(record) {
  122. if(record.addedNodes){
  123. [].forEach.call(record.addedNodes,function(item){
  124. handleTextNode(item);
  125. });
  126. }
  127. });
  128. });
  129. var option = {
  130. 'childList': true,
  131. 'characterData':true,
  132. 'subtree': true
  133. };
  134. observer.observe(document.body, option);
  135. setInterval(function(){
  136. if (lhref!=window.location.href){
  137. lhref=window.location.href;
  138. setTimeout(function(){
  139. bf=document.body;
  140. handleTextNode(bf);
  141. document.body=bf;
  142. },2000);
  143. }
  144. },1000);
  145. if (window.location.href.indexOf("youtube")>-1) {
  146. setTimeout(function(){
  147. bf=document.body;
  148. handleTextNode(bf);
  149. document.body=bf;
  150. },4000);
  151. }
  152.  
  153. if (document.hidden !== undefined) {
  154. document.addEventListener('visibilitychange', () => {
  155. //console.log(document.hidden);
  156. if(document.hidden != true){
  157. setTimeout(function(){
  158. bf=document.body;
  159. handleTextNode(bf);
  160. document.body=bf;
  161. },1000);
  162. }
  163. })
  164. }
  165. },1000);
  166. }
  167. window.addEventListener('load', progress, false);
  168.