The company intends to enter the Taiwan market, recently developed a traditional version of the Web site, the database is all simplified information, in addition to fixed text on the page manual translation, the article content title is not traditional.
So on the internet to find a more popular simplified switch JS implementation, but later found that some pages will be stuck to death, simply can not carry on. Pop-up information indicates that this is the simplified switch JS caused the problem.
After a closer look, it turns out that this is the problem. Share, perhaps a lot of people have encountered similar problems.
First code:
Copy Code code as follows:
Imitate the language package of simple conversion function Plug-ins!
var default_isft = 0//default is traditional, 0-simplified, 1-Traditional
var stranit_delay = 50//Translation delay millisecond (this is designed to let the Web page appear smoothly first)
--code start, do not change the following
Convert text
function Strantext (txt,toft,chgtxt)
{
if (txt== "" | | Txt==null) return ""
Toft=toft==null? Bodyisft:toft
if (chgtxt) txt=txt.replace (Toft?) Jane ":" (Toft?) Fan ":" Jane "))
if (Toft) {return traditionalized (TXT)}
else {return simplized (TXT)}
}
converting objects, using recursion, stripping layers to text
function Stranbody (fobj)
{
if (typeof (fobj) = = "Object") {var obj=fobj.childnodes}
Else
{
var tmptxt=stranlink_obj.innerhtml.tostring ()
if (Tmptxt.indexof ("Jane") <0)
{
Bodyisft=1
Stranlink_obj.innerhtml=strantext (tmptxt,0,1)
Stranlink.title=strantext (stranlink.title,0,1)
}
Else
{
Bodyisft=0
Stranlink_obj.innerhtml=strantext (tmptxt,1,1)
Stranlink.title=strantext (stranlink.title,1,1)
}
Setcookie (jf_cn,bodyisft,7)
var obj=document.body.childnodes
}
for (Var i=0;i<obj.length;i++)
{
var Oo=obj.item (i)
if ("| | br|hr| Textarea| ". IndexOf ("|") +oo.tagname+ "|") >0| | Oo==stranlink_obj) continue;
if (oo.title!= "" &&oo.title!=null) Oo.title=strantext (oo.title);
if (oo.alt!= "" &&oo.alt!=null) Oo.alt=strantext (Oo.alt);
if (oo.tagname== "INPUT" &&oo.value!= "" &&oo.type!= "text" &&oo.type!= "hidden") oo.value= Strantext (Oo.value);
if (oo.nodetype==3) {Oo.data=strantext (Oo.data)}
else Stranbody (OO)
}
}
function Jtpystr ()
{
Return ' Ai io Hinder love ao ao dam strike to do trip help tied pound slander to peel full bao Pao, abalone Jackal prepare exhausted the closing of the closed edge, the change of the debate braid turtle, Bin bin, and the port of the port of the cake, platinum and The silkworm residual Cang Cang toilet side book measurement layer astonished mixed cicada greedy slander the shovel production of a long time to pay the bowel factory Chang Chong Chong Chen lining Brace said correctional Cheng Crazy late chi shame teeth Blazing Chong Bug pet domain 踌 to raise silk ugly cupboard kitchen hoe virgin storage contact with sores Chuang Chong Hammer Pure words to give Cong chimneys from the bundle of mistakes up to take credit Tan Shan mend Christmas bomb when the party dang stalls prayer of the island and the light to steal the lamp Deng's enemy the pad Dian Dian diao the top spindle poker-plated forged break satin team to ton of blunt goose amount of false hunger er the bait to send a penalty valve-----------------------------------------Rice The obituary of the woman bound the calcium Gaigan, gan Gang Gang steel outline hillock Gao pick pigeon GE Chrome to Shing gong Gou structure buy enough of the Guan Guan Hall of the habitual wide regulation of the Turtle friend of the Ark of your executioner roll pot country over the shocking Han Hanyu Hok-He-bang hung-hung after the Hu Hu-hua painting, the picture of the bad Huan ring also slow change call 痪 Huan Huan yellow lie wave to destroy bribe dirty will be the meat of the collection of the goods disaster hit the machine hunger and the chicken performance of the order to squeeze a few thistle Practice cheap See key ship sword money gradually splash Jian Jiang Oar award sauce glue pouring pride jiao richest the stalk of the stem surprised by the neck Jing Jing Jing Jing, the old colt lifting according to the saw fear of the play Juan Juan Jie Jie commandments of the tight Kam Jin only to Jin to make the king of the King of the Army June Kai Shell class Ken Executioner The kui of the wide-mine condition and the widening of the wax------------------------------------------------------Lan speak chain love refining and food cooling two-------------------------------------------Lease The twin and the disorderly whirl Lun Lun the LUN the Luo luo logos gongs the Mule Luo the mother the horse code MA to scold to sell the MAI to buy the wheat sells Mai to conceal eels to be quite full 谩 cat anchor riveting trade Mody the absurd to seek mu na difficult to tickle the brain annoyed and tired of driving twist stuffed birds Nie nickel lemon hunting ning twist muddy button New pus, the Ouchi of malaria, and the love of the cost of the injection Peng cheat spread the poor apple with the evaluation of the splash of the spectrum of the navel Qi ride The gas discard to pull the lead brazing to move to sign modest money clamp latent shallow plague gun choke wall Qiang strong Rob Spade bridge Chowa to steal chin to kiss lightly the Hydrogen pour is please qing June in the impoverished area of the body drive caries and zygomatic right advised but Magpie let Rao around hot toughened thread plush soft sharp leap embellish the gills The umbrella is dead Sao sweep to kill the gauze screen bask in the support to burn the credit to be on the subject of the examination of the kidney infiltration sound rope wins the Holy Master Lion wet poetic corpse when the erosion of the body of the spirit of the book Vertical number of handsome two who tax shun said Shuo impressive Su though sui-sun damage bamboo shoot Shrinkage Lock Rex tart raise stand greedy paralysis beach tan sigh soup hot tao sash The body drawer stick Iron Hall Listen hydrocarbon copper Head map Coating Regiment decadent shed tuo Tuo camel-Bend Bay stubborn million network Wei Wei pseudo Wei Wei Wen to hear the grain stability asked urn i scroll vortex nest Wu--------------------sacrifice Narrow Xiamen Shovel Fresh fiber Xian Yin Title Leisure show Xianxian Filling Xian Xian, a detailed soundXiao Pin Xiao Lei scorpion with the threat of harmonic write Xie Xie Zinc Peacemaker hing because they rust embroidery Xu Xu Yu continued Hin Xuan, suspended to select Tinea Xuan learn to find training hearing the weak pressure Jay Duck Dumb Asian surprised and strict Yan Yan tired Yan Proverbs, 鸯, Yang itch culture-like Yao-Yao Liu Yao Li-li-li-yi-li-zhi-yin-li-Li, the medical and ir Yi Yin ant art yi Yi----interpretation of the negative and silver drink Sakura Baby Eagle Ching Fluorescent ying yo fu carbuncle Dance Yong Yong Zhi- Yu Yu Entertainment and Yue-yu language of the prison reputation pre-yu shafts Park members of the yuan is far willing to make a leap key Yue Yue to read Cloud Yunyang uniform meteorite Yun Yun Christie Halo rhyme Miscellaneous Disaster load save temporarily praise dirty cut jujube focus on the choice of ze thief gift to tie a rolling cutter cheat the debt felt to cut and roll up the stack war Zhang Rose account swelling Zhao rut ge This zhen needle to investigate the town to earn open 狰 frame Zheng Certificate weaving paper Zhi, the end of the species swelling of the masses Special brick turn to earn pile Zhuang makeup Strong-shaped cone pendant zhun turbidity in the total longitudinal 邹诅 Group drilling Zhong for only the fierce open plate Gimli remaining chain vent standard ';
}
function Ftpystr ()
{
Return ' 皚 藹 翺 襖 Olympic dams strike to issue to help bind the pound 絆 謗 saturated stripped lifetime Bob 鋇 reserve 狽 pen after shot off awareness 辮 鼈 癟 endangered riverwalk Penn 擯 waffles flick 缽 Platinum connected carrot supplement 蠶 ashamed and sad brightening hatch barn 滄 toilet on the side of the hierarchy 詫 攙 摻 cicadas 饞 The 讒 dogfight the Spade field to try to be in the same sausage factory makes car completely dust Chen Chen trembling to be punished money lined late-騁 the worm pet fool so 疇 Broke creative cylinders Pure Dolcevita resignation Word to the wise onion chimney from the bush compact the wrong to take a loan 竄 鄲 daring 撣 file 搗 Island prays for pirate lights Tang enemy 滌 to 締 point cushion the fishing to adjust mole overlap The top 錠 Subscribe building 犢 A plated forgings ribbons confirmed captured tons dull goose the 訛 of the bait to be punished 貳 valve 琺 of the 礬 of the trouble 釩 the trafficking flying waste Lyon colorful exciting graves dung the wind crazy maple sewing Fung ironic skin Phoenix 訃 bondage should tetrahydrate to 稈 贛 the castle, Car Longgang, 臯, Hao, stranded pigeons to loft the chrome, 龔 enough 蠱 to look after 剮 's habits consistent the turtle 閨 track Tricks deli precious 劊 輥 Roll pan country hackers 閡 Hubbard Huan after the red pot to protect 滬 rushing, and to change the call paralyzed Longoza the 渙 yellow lie bribery 穢 燴 conceal, 誨, 葷, 渾, accident, hunger, 譏, and the warrant of the chickens Economics remember the clip pods cheeks Steve Potassium price destroyers discipline 箋 Tough 緘 cocoon Check berberine alkaline chosen pick simple 儉 recommended threshold draw practices cheap, 餞 splash 澗 plasma 蔣 propeller prize sauce watering proud delicate stirring 鉸 矯 僥 foot 餃 paying the 絞 vehicles the more 稭 class penis the neck of the microscope 痙 the tangled 廄 the 駒 saw and Huan, and only silk the commandments, She to Antony the cautious of the course Shan ashes, and the opening of a juice Negundo class Wide mines 曠 Situation thanks 巋 Glimpse feedback Breakdown extension wide wax to the blue fence intercept basketball 闌 Poland 瀾 讕 Browse 攬 Lazy Cables Labor 澇 Music beam softball tears fence She Grit calendars Asphalt slave Lian Lian Lian scythe poor ripples curtain 斂 facial necklace food, alchemy, 遼 鐐, Scales, 凜, 賃, Fanling, distillation Chris Lau, deaf throat cage monopolistic 攏 隴 Lou, the 摟 簍, Aloe Toulouse, 顱 bailu 擄, 鹵, captive bribe Paul, Donkey and Lu, 孿 灤 Stall, rurunrun boundary 綸, the Prime, Gong 籮 騾, Camel, 螞蟻. Buy a microphone scoid 饅 is full of 謾 Cat road 鉚 not magnesium boring dream oleate mystery 覓 sponge Temple extinction Myanmar Mercy 閩 resonance the conspiracy acre sodium harass brain 餒 膩 攆 linen stuffed bird 聶 rodents 鑷 鎳 lemonade 獰 ning screwed 濘 the 膿 the malaria to the European Seagull 毆 嘔 the state of love 漚 spray reparations deceive the poor Apple trampun comment thin songkran Aleppo poker cobblestone recipe Pot the belly 訖 扡 釺 Lead humility money bleeder potential shallow condemnation graben gun 嗆 walls 薔 strong Rob 鍬 bridge Joe 僑 dead tricks theft light hydrogen 頃 please celebrate Vigénère poor area torso 齲 zygomatic rights advise Choquette let spare disturb the sewing glory fuzzy rinjita profit sprinkled gills race umbrella harassment Shibuya kill yarn and filter and 曬 陝 the 贍 to be burned in 繕 the 賒 the trial deterrent The gentleman of the Holy Master 嬸 in the Wet poets kidney The knowledge of the game explaining the penetrated Erector spinae number handsome both who tax the welcome flashing fan 飼 Towering 慫 celebrate courts the recite 擻 Soviet tell serious although 綏 age grandchildren damage 筍 trivial lock 獺 撻 擡 stalls greedy paralyzed beach altar Tantra talk Marvel soup hot Wentao 縧 burn 謄 銻 The subject drawer to listen to 烴 bronze smear ensemble 頹 transformation Ostrich 馱 Camel Elliptical orbits 窪 sock Bend Bay Friend all around 濰 葦 difference. Wen wen stability Chung jar 撾 蝸 swirl hive oooo The tungsten 誣 no 蕪 Wu Hollywood task fog sacrifice attack wide the 銑 the strait lobster Narrow building 鍁 謙賢 title did nothing the present county filling envy the Constitution compartment 鑲Depression marketing tsunami Die gimp threats harmony write 瀉 Thank Firebrake provocative happy 洶 Rusty embroidery virtual 噓 have to continue Lingxuan suspense 癬 hoon Untamed training Jefferson pressure Opium duck dumb surprise oxen smoke salt severe 閻 hate 硯 諺 experience 鴦 Yang the Sun itch 瑤 Rock Yau remote 窯 She Medicine page 銥 頤 and 彜 art ants the 詣 繹 the shade the baby Cherry Eagle to 纓 the Camp Crystal 熒 flies stand yo maid The 癰 踴 the the Ving Tsun. 輿 Fish Fishing Entertainment and the language of the harness 鴛 depths 轅 Park members are willing to keys chow The joy of the cloud Cantonese evenly 蘊 醞 dizzy rhythmic crater 攢 Dirty 贓-鑿 Responsible 竈 sepia donors Yozakku 劄 gin 鍘 fasting bonds 氈 盞 cutting 輾 brand Hoteis War bloomed Zhang increases account accounts hyperinflation 趙 蟄 轍 鍺 This Joan Needle diagnostics array Struggle open my 猙 frame Cheng certified sincere dropped flag the mass minutes the swelling the crush and the end 謅 of a variety of the end of the species. Specialize in brick stake cone 贅 crashes 綴 諄 濁 and 漬 The total complex 鄒 group to be the target of the boss curse the rest of the organization;
}
function Jtpyword () {
var Jtpyword = new Array (' "', '" ', ', ' ", ', ' ', ' triple pole ', ' transistor ', ' Chinese ', ' Serial ', ' String Accelerator ', ' Ethernet ', ' cheese ', ' two pole ', ' diode ', ' interactive ', ' Azerbaijan ', ' artificial intelligence ' , ' interface ', ' Free-kick member ', ' any player ',
' Server ', ' word ', ' bytes ', ' priority ', ' Dollar Killer ', ' culprit ', ' disc ', ' optical drive ', ' Georgia ', ' Croatia ', ' all corners ', ' winter ', ' Winter ', ' cold dish ', ' cold dish ',
' Murder weapon ', ' killer ', ' The assailant ', ' the murderer ', ' The Cruel hand ', ' murderers ', ' murders ', ' murders ', ' brutality ', ' murder ', ' brutality ', ' murder ', ' homicide ', ' kill ', ' distributed ', ' print ', ' Liechtenstein ', ' ribbon ',
' Gabon ', ' bus ', ' LAN ', ' Trinidad and Tobago ', ' Trinidad and Tobago ', ' half-width ', ' kata ', ' Qatar ', ' Print machine ', ' printer ', ' Eris ', ' Eritrea ', ' Ecuador ', ' Eris ',
' Swaziland ', ' Westchester ', ' Djibouti ', ' Djibouti ', ' Kiribati ', ' Tile Toulouse ', ' Tuvalu ', ' Kazakhstan ', ' Godzilla ', ' Costa Rica ', ' Gross ', ' Georgia ', ' Georgia ', ' George ', ' mouth ',
' Turkmenistan ', ' Potato seed ', ' potato net ', ' Tudou ', ' Tanzania ', ' Tanzani ', ' Port ', ' Tajikistan ', ' Seychelles ', ' ' The Republic of Serbia ', ' Cyprus ', ' Summer ', ' Summer ',
' Dominican Republic ', ' Domincan Rep. ', ' Dominican Republic ', ' Dominica ', ' Dominican State ', ' shuttle ', ' Space Shuttle ', ' Nigeria ', ' Niger ',
' character ', ' font size ', ' font ', ' character set ', ' Save ', ' Antigua and Bubba ', ' Antigua And Barbuda ', ' song Yuan ', ' Honduras ', ' addressing ', ' Winter Vacation ', ' broadband ', ' old 撾 ', ' Laos ',
' Shot ', ' sponsors of Asia ', ' Zambia ', ' Ernie ', ' Niger ', ' caves ', ' Barbados ', ' Papua New Guinea ', ' the ' Bourkina-faso ', ' the ', ', ' ' Burkina Faso ', ' Bush ', ' Bree ', ' Palau ', ' routine ',
' Chaos of Mercedes ', ' Mercedes ', ' Guinea-Bissau ', ' a few introductions ', ' ribbons ', ' rehearsals ', ' Airou ', ' Ayana ', ' Resurrection ', ' recovery ', ' heart ', ' flash memory ', ' flash ', ' sensing ', ' conventional ', ' Play color entertainment Pro ',
' Flashlight ', ' flashlight ', ' bracket ', ' Take Break Rurunrun ', ' Napoleon ', ' an ', ' scanners ', ' hooks ', ' Hanging hook ', ' controls ', ' billiard ', ' billiard ', ' portable ', ' story ', ' Modem ', ' Adjust the transducer ', ' Slovenian ', ' Slovenia ',
' Epoch ', ' New Century ', ' Days ', ' Spring Break ', ' Spring ', ' Spring ', ' time ', ' Chips ', ' summer Vacation ', ' Chad ', ' Hamilton ', ' Clinton ', ' green ', ' Grenada ', ' Van Gogh ', ' Forest ', ' lotus ', ' durian ', ' emulation ',
' Mauritius Mauritius ', ' Mauritius ', ' Cyborg ', ' Robot ', ' field ', ' vowel ', ' yong Calendar ', ' Brunei ', ' Saudi Arabia ', ' Sandy Arabia ', ' Posni Hesse ', ' Bosnia And Herzegovina ', ' Botswana ', ' Botswana ', ' Hussein ', ' Hou Cause ',
' Deep depths ', ' cursor ', ' mouse ', ' algorithm ', ' Uzbekistan ', ' phrase ', ' Sierra Leone ', ' Guatemala ', ' crisis ', ' Gambia ', ' The Toulouse ', ' The suspect ', ' The suspect ', ' the Sun-Autumn ', ' the ' Gundam ', ' Rwanda ', ' The real killer ', ' The real murderer ', ' Silicon wafer ', ' Silicon Valley ',
' Hard drive ', ' hardware ', ' platter ', ' disk ', ' track ', ' Raffles ', ' Autumn Leave ', ' fall ', ' autumn ', ' programmed ', ' Tunisia ', ' endnote ', ' bungee jumping ', ' tied up ', ' equals ', ' short message ', ' SMS ', ' New West ', ' NZ ', ' Solomon Islands ' , ' Solomon Islands ',
' Nassau ', ' Somalia ', ' Jiaya ', ' Cape Verde ', ' Cyber ', ' network ', ' The internet ', ' the Web ', ' pom ', ' colored silk ', ' color line ', ' Color boat ', ' color clothing ', ' The Killer ', ' warrant ', ' warrant ', ' Italy ', ' old ',
' Saint Kitts-nevis ', ' Saint Regis ', ' Saint Vincent and Dings ', ' Saint Vincent and the Grenadines ', ' St. Lucia ', ' Saint Toulouse ', ' San Marino ', ' Saint Mary's Promise ', ' belly ', ' Kenya ', ' Ken Ya ', ' free-kick ',
' Space University ', ' Misery ', ' Mauritania ', ' Mauritani ', ' Mozambique ', ' Wanli ', ' Vanuatu ', ' Vanu ', ' also door ', ' Yemen ', ' to ', ' Como ', ' Comoros ', ' Burundi ', ' Guyana ', ' Guyanese ', ' hot pot cap ', ' Suriname ' ,
' The assailant ', ' the murderer ', ' after the murder ', ' after the murderer ', ' after the murder ', ' ' Flow the phone ', ' mobile phones ', ' travel control ', ' health ', ' hygiene ', ' Ethiopia ', ' Ethiopian ', ' hook outside ', ' inside ', ' resolution ', ' decoding ', ' Taxi ', ' permission ', ' Nauru ', ' nowshera Gross ',
' Variables ', ' Côte d ' Ivoire ', ' Bay ', ' Benin ', ' Bethlehem ', ' Belize ', ' Buy the murderer ', ' buy the fierce ', ' buy the fierce ', ' database ', ' Information theory ', ' Mercedes ', ' Mercedes ', ' Liberia ', ' Rio ', ' Toledo ', ' Lesotho ', ' Floppy ', ' software ', ' Software ', ' loading ',
' Zimbabwe ', ' Zimbab ', ' words ', ' Ghana ', ' Gabriel ', ' Chasing the fierce ', ' chasing the murderer ', ' here ', ' channel ', ' Chengxiong ', ' fight ruthless ', ' chengxiong fighting ruthless ', ' instant noodle ', ' instant noodles ', ' fast face ', ' hyphen ', ' into ', ' into the ball ', ' operator ', ' Long-range control ', ' Remote control ',
' Wen ', ' Hospital ', ' acyl ', ' giant ', ' hook ', ' hook ', ' rivalry ', ' Hook, ' write protection ', ' United Arab Emirates ', ' Arab League chief ', ' Noise ', ' offline ', ' Snow red ', ' Snow Lihong ', ' Citroen ', ' asynchronous ', ' sound card ', ' Default ', ' promulgate ', ' issue ',
' The realm ', ' header ', ' pellet into the ball ', ' Republic of Mali ', ' Macedonia ', ' Malta ', ' Maldives ', ' husbands ', ' everything ', ' Diana ', ' Diana ', ' dot ', ' bitmap ', ' Shop ', ' Merchant Cobblestone ', ' submit ', ' Shop ', ' Store Cobblestone ', ' Taiwan ' , ' Taiwan ', ' releasing ', ' distributing ';
return Jtpyword;
}
function Ftpyword () {
var Ftpyword = new Array (' "', '" ', ' "', '", ', ', ', ' The three Poles ', ' Chinese ', ' string ', ' Tandem accelerator ', ' B-net ', ' cheese ', ' two poles ', ' two poles ', ' interactive ', ' Sebaigan ', ' Artificial intelligence ' , ' interface ', ' Free-kick crew ', ' Free-kick members ',
' Server ', ' bit group ', ' bit group ', ' superior order ', ' culprit ', ' culprit ', ' Disc ', ' CD-ROM ', ' Chloe ', ' Chloe ', ' fullwidth ', ' Winter ', ' winter ', ' cooler ', ' cooler ',
' Murder weapon ', ' Murder weapon ', ' assailant ', ' murderer ', ' killer ', ' murderer ', ' murders ', ' murders ', ' vicious ', ' vicious ', ' vicious ', ' kill ', ' kill ', ' kill ', ' scatter ', ' print ', ' Liechtenstein ', ' Cut denuded ',
' Add Peng ', ' stream platoon ', ' Area Network ', ' Trinidad and Tobago ', ' Trinidad and Tobago ', ' Halfwidth ', ' Gundam ', ' Gundam ', ' Printer ', ' printer ', ' Eris ', ' Eris ', ' Ecuador ', ' Ecuador, ' ',
' Swearingen ', ' Swearingen ', ' Gillette ', ' Gillette ', ' Kiribati ', ' Tuvalu, ' Costa ', ' Harper ', ' Rica ', ' Costa Rica ', ' Georgia ', ' Georgia ', ' Georgia ', ' Georgia ', ' mouth ', ' said the
' The native ', ' potatoes ', ' potato web ', ' Potato web ', ' Channy ', ' Channy ', ' Port ', ' Tajik ', ' the ', ', ', ', ', ', ' Sylar ', ' in the Summer ', ' Summer ',
' Dominican Republic ', ' Dominican Republic ', ' Dominican Republic ', ' Domenek ', ' Domenek ', ' Space Shuttle ', ' Space Shuttle ', ' Nigerian ', ' Nigeria and Indonesia ',
' character ', ' font size ', ' font file ', ' character set ', ' Archives ', ' Andrew and Bubba ', ' Durres and Bubba ', ' Sung-yuan ', ' Acer ', ' addressing ', ' Winter Vacation ', ' the ' wide ', ' Laos ', ' Laos ',
' Gate ', ' More than Adam ', ' still more than, ' ' Neo ', ' Neo ', ' Cave ', ' New Orleans, ' Bubba ', ' Barry, ', ' Phuket ', ' The Boogie ', ' Bush ', ' Bush ', ' Palau ', ' the regular ',,,,
' Chaos of Mercedes ', ' Mercedes ', ' several pesos ', ' several pesos ', ' ribbon ', ' rehearsal ', ' colorful floor ', ' Color deck ', ' recovery ', ' recovery ', ' heart ', ' flash memory ', ' flash memory ', ' sensing ', ' used ', ' play denuded entertainment ',
' Hand cartridges ', ' hand cartridges ', ' brackets ', ' Kunlun ', ' Kunlun ', ' Jaguar ', ' scanner ', ' Hang Claws ', ' Hang Claws ', ' control ', ' bump ', ' bump ', ' carry type ', ' story ', ' Data machine ', ' data ', ' snow ', ' snow ',
' New century ', ' New Century ', ' Days ', ' Spring Break ', ' Spring ', ' Spring ', ' time ', ' Crystal ', ' Summer Vacation ', ' Chad ', ' Collins ', ' Collins ', ' Garry ', ' Garry ', ' Van Gogh ', ' Forest ', ' durian ', ' durian ', ' simulate ',
' Die Mauritius ', ' Mauritius ', ' robot ', ' robot ', ' fence ', ' vowel ', ' forever calendars ', ' Brunei ', ' Saudi Arabia ', ' Saudi Arabia ', ' Bosni Jesse ', ' Bosni Jesse ', ' Botswana ', ' Botswana ', ' Saddam ', ' Saddam ',,,,
' Deep depths ', ' cursor ', ' mouse ', ' algorithm ', ' Ukrainian ', ' language ', ' Lion Mountain ', ' Guarani ', ' Guarani ', ' Kenya ', ' The Messiah ', ' The suspect ', ' The suspect ', ' the sun in the skin ', ' Toulouse ', ' Toulouse ', ' The real killer ', ' The real killer ', ' silicon ', ' Silicon Valley ',
' HDD ', ' hard ', ' disc ', ' Disk ', ' magnetic track ', ' Fox ', ' Autumn Leave ', ' autumn ', ' Autumn ', ' Program control ', ' the ' Diego ', ' the chapter is attached ', ' the pig jumps ', ' the pig jumps ', ' is ' as it is ', ' simple ', ' simple ', ' New Zealand ', ' New Zealand ', ' Soro Islands ', ' Solomon Islands ',
' Macedonia ', ' denuded ', ' End of ', ' Cape de Horn ', ' web ', ' web ', ' internet ', ' Internet, ' denuded ball ', ' denuded silk ', ' denuded ', ' denuded boat ', ' denuded ', ' warrant fierce ', ' warrant fierce ', ' warrant fierce ', ' Italian ', ' old word ',
' Saint Christopher and Nicholas ', ' Saint Christopher and Nicholas ', ' Saint Vincent and Grey ', ' Saint Vincent and Grays ', ' San Lucie ', ' Saint Lucy ', ' Saint Mary's Promise ', ' Saint Mary's Promise ', ' belly ', ' Kenya ', ' Kenya ', ' free ball ',
' Aerospace University ', ' Bitter ', ' Mauritania Thani ', ' Mauritania Thani ', ' Mo san grams ', ' calendars ', ' du ', ' du ', ' leaves ', ' leaves ', ' ' ', ' Germo ', ' Germo ', ' po-lung ', ' Gaia ', ' Gaia ', ' Fire Pan ', ' Soviet South ',
' Killing ', ' killing ', ' after ', ' after ', ' after ', ' action ', ' mobile phone ', ' stroke ', ' health ', ' health ', ' mso ', ' Dress up ', ' Check out ', ' inside ', ' analytic ', ' decipher ', ' the ' vehicle ', ' may be right ', ' Commit Gross ', ' commit Gross ',
' Change ', ' Ivory Coast ', ' Bay South ', ' Bay South ', ' Bay ', ' Baker ', ' buy the fierce ', ' buy the fierce ', ' buy the fierce ', ' The library ', ' Information Theory ', ' Penn ', ' Pennsylvania ', ' dependent on Rachel ', ' dependent on Toby ', ' dependent on the cable ', ' on the phone ', ' software ', ' Software ', ' loading ',
' Zimbabwe ', ' Zimbabwe ', ' resignation ', ' Gad ', ' Gad ', ' chasing the murderer ', ' chasing the murderer ', ' here ', ' passage ', ' chengxiong fight ruthless ', ' chengxiong fight ruthless ', ' chengxiong fight ruthless ', ' instant noodle ', ' instant noodle ', ' instant noodle ', ' even word ', ' advance ', ' the ball ', ' operator ', ' Remote control ', ' Remote control ',
' That Du ', ' Hospital ', ' acyl ', ' Ju Steve ', ' claws ', ' claws ', ' claws heart ', ' claws ' battle angle ', ' write ', ' the Arab League of Great Britain ', ' the Arab League of America ', ' the message ', ' the line ', ' Snow red ', ' Snow Lihong ', ' Snow Dragon ', ' sync ', ' sound card ', ' Preset ', ' issue cloth ', ' issue cloth ',
' The field ', ' The Hammer ', ' the ball ', ' the Republic of Macedonia ', ' the Republic of Macedonia ', ' he ', ' The Man ', ' horses ', ' Diana ', ' Diana ', ' O ', ' click ', ' exhibition ', ' exhibition ', ' Send ', ' exhibition ', ' exhibition ', ' Taiwan ', ' Taiwan ', ' announcement ', ' announcement ';
return Ftpyword;
}
function traditionalized (cc) {
var str= ', Ss=jtpystr (), Tt=ftpystr ();
var SSA = Jtpyword (), TTA = Ftpyword ();
for (Var i=0;i<cc.length;i++)
{
if (Cc.charcodeat (i) >10000&&ss.indexof (Cc.charat (i))!=-1) Str+=tt.charat (Ss.indexof (Cc.charAt (i)));
else Str+=cc.charat (i);
}
for (Var j=0;j<ssa.length;j++) {
if (Str.indexof (ssa[j]) >= 0) {
str = str.replace (ssa[j],tta[j]);
}else{
str = str;
}
}
return str;
}
function simplized (cc) {
var str= ', Ss=jtpystr (), Tt=ftpystr ();
var SSA = Jtpyword (), TTA = Ftpyword ();
for (Var i=0;i<cc.length;i++)
{
if (Cc.charcodeat (i) >10000&&tt.indexof (Cc.charat (i))!=-1) Str+=ss.charat (Tt.indexof (Cc.charAt (i)));
else Str+=cc.charat (i);
}
for (Var j=0;j<ssa.length;j++) {
if (Str.indexof (tta[j]) >= 0) {
str = str.replace (tta[j],ssa[j]);
}else{
str = str;
}
}
return str;
}
function Setcookie (name, value)//cookies settings
{
var argv = setcookie.arguments;
var argc = setCookie.arguments.length;
var expires = (argc > 2)? ARGV[2]: null;
if (expires!=null)
{
var largeexpdate = new Date ();
Largeexpdate.settime (Largeexpdate.gettime () + (expires*1000*3600*24));
}
Document.cookie = name + "=" + Escape (value) + ((expires = null)? "" : ("; Expires= "+largeexpdate.togmtstring ()));
}
function GetCookie (Name)//cookies read
{
var search = Name + "="
if (Document.cookie.length > 0)
{
offset = document.cookie.indexOf (search)
if (offset!=-1)
{
Offset + = Search.length
End = Document.cookie.indexOf (";", offset)
if (end = = 1) end = Document.cookie.length
return unescape (offset, end) (document.cookie.substring)
}
else return ""
}
}
var Stranlink_obj=document.getelementbyid ("Stranlink")
if (stranlink_obj)
{
var jf_cn= "FT" +self.location.hostname.tostring (). Replace (/\./g, "")
var Bodyisft=getcookie (JF_CN)
if (bodyisft!= "1") bodyisft=default_isft
With (Stranlink_obj)
{
if (typeof (Document.all)!= "Object")//Non IE browser
{
Href= "Javascript:stranbody ()"
}
Else
{
href= "#";
onclick= new Function ("Stranbody (); return false")
}
Title=strantext ("Click to browse in Traditional Chinese style", 1, 1);
Innerhtml=strantext (innerhtml,1,1);
}
if (bodyisft== "1") {settimeout ("stranbody ()", Stranit_delay)}
}
At first I thought it was the recursive problem, but the test found that even though it was a lot of characters, it could still be quickly replaced.
After the investigation, the original is JS and object tags will bring the problem of card death. Simplified switch implementation is bound to skip some tags, see this paragraph, its role is to determine the replacement of which tags in the text.
Copy Code code as follows:
for (Var i=0;i<obj.length;i++)
{
var Oo=obj.item (i)
if ("| | br|hr| Textarea| ". IndexOf ("|") +oo.tagname+ "|") >0| | Oo==stranlink_obj) continue;
if (oo.title!= "" &&oo.title!=null) Oo.title=strantext (oo.title);
if (oo.alt!= "" &&oo.alt!=null) Oo.alt=strantext (Oo.alt);
if (oo.tagname== "INPUT" &&oo.value!= "" &&oo.type!= "text" &&oo.type!= "hidden") oo.value= Strantext (Oo.value);
if (oo.nodetype==3) {Oo.data=strantext (Oo.data)}
else Stranbody (OO)
}
Plus this, it's all normal:
Copy Code code as follows:
if (oo.tagname== "OBJECT") continue;
if (oo.tagname== "SCRIPT") continue;