The company intends to enter the Taiwan market and recently developed a traditional version of the website. The information in the database is all simplified. Except for the fixed text on the web page, the title of the article is not traditional.
So I found a popular JS implementation of traditional and simple switching on the Internet, but later I found that some pages would be stuck and could not be executed at all. The pop-up information shows that it is all caused by JS switching between traditional and simple things.
After a closer look, I found that this was the problem. Let me share, maybe many people have encountered similar problems.
First upload the code:
The code copy is as follows:
//Simplified and traditional Chinese conversion function plug-in that imitates language packs!
var Default_isFT = 0 //Default is traditional, 0-simplified, 1-Traditional
var StranIt_Delay = 50 // Translation delay milliseconds (suppose the purpose of this is to let the web page appear smoothly first)
//-------------------------
//Convert text
function StranText(txt,toFT,chgTxt)
{
if(txt==""||txt==null)return ""
toFT=toFT==null?BodyIsFt:toFT
if(chgTxt)txt=txt.replace((toFT?"simple":"traditional"),(toFT?"traditional":"simple"))
if(toFT){return Traditionalized(txt)}
else {return Simplified(txt)}
}
//Convert the object, use recursion, peel the text layer by layer to layer
function StranBody(fobj)
{
if(typeof(fobj)=="object"){var obj=fobj.childNodes}
else
{
var tmptxt=StranLink_Obj.innerHTML.toString()
if(tmptxt.indexOf("simple")<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 'Aoba's defeated love for the auspicious damnation of the pound and slandering the full treasure of the treasure of the bao generation. The pen was shattered and deposed and deposed, and the pistol was shattered and deposed. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent ginseng and silkworms are in ruins. The platinum repellent gangsters are in ruins. The platinum repellent gangsters are in ruins. The platinum repellent gangsters are in ruins. The platinum repellent gangsters are in ruins. The platinum repellent gangsters are in ruins. The platinum repellent gangsters are in ruins. The platinum repellent gangsters are in danger. The platinum repellent gangsters are in danger. The platinum repellent gangsters are in danger. The platinum repellent gangsters are in danger. The platinum repellent gangsters are in danger. The platinum repellent gangsters are in danger. The platinum repellent gangsters are in danger. The platinum repellent gangsters are in danger. The platinum repellent gangsters are in danger. The platinum repellent gangsters are in danger. The platinum repellent gangsters The silence of the teeth of the crawling insects is a piece of cake. The silk and ugly cabinet kitchen hoe base storage area is a piece of cake. The sucking sores are broken and the hammer is a piece of cake. The words are given to the congregation tree from the congregation tree. The slightest part is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part of the catty is a piece of cake. The slightest part When the party is blocking the straitor, the island is being prayed to guide the stolen lamp Deng Di Di delivered a point pad electric spot fishing and the spy stacked nail top ingot to the east and the frozen calf reads the gambler forged and broken satin team against the ton dull robbery goose The 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018-year-old 2018- The turtle steel railings are used to buy chromium for Gonggong Gonggu Gougou. Gugu Guguguan Guanguan.com.cn.com.cn.com.cn.com.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.cn.c The Han Han He He Heng Bohong Hong Pot protects Shanghai households and draws the bad words and the bad luck rings are slow to change the call of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the silence of the The slightest and most important thing is to be found in the slightest level of the chicken. The slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slightest level of the slight Key ship swords gradually splashing stream slurry Jiang paddle prizes sauce sauce grease stirring resonant feet dumplings hold more straw stairs and stems are shocked by the jawline mirror. The old horse lifts the old horses and shakes the jawline. The secret of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the silhouette of the sil Come to Lai Lanlan to block the basket and Lanlan to check out the lazy cables and waste water. Le Rail canals and tears. Li Li Li Li Li Li Li Li Li Li Li Li Li Li Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Lian Pin and Practice Food Cool Two vehicles of Liangyu are shackled by Liao shackles and hunting neighbor Lin Lin Ling Ling Ling Ling led the distillation of Liu Long's deaf throat cage round the ridge of Longlou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lou Lo Want to filter green mountains and twins, Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Lun Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma Ma The mysterious dream of the manganese dream of Mian Myanmar temple destroyed the mercy of Min Mingming, the brain is unharmed and the brain is unharmed and the bird is urging and the nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nickel-like nick Pang Guo loves to compensate and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the penis and spew the bridge Qiao Qiao The magpie will be scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's scattered in the area of Qiong's The storm of Shaanxi, the wounded and burned Shao Credit Shooting set up a gentleman's kidneys, the sound ropes of the sage, the sage, the poem, the corpse, the corpse, the real sense of the decorative momentum, the beast's penis, the redemption technique, the tree, the vertical number, the two of the two are the two of the two of the two of the two of the two of the two of the two of the ones. The sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the sacrificial statement of the s Listen to the picture of copper head coating, the slander of the ostrum, the ostrum, the ostrum, the bend of the ostrum, the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend of the bend Wuwu fog affairs are wrongly killed and killed. The scorpion is a scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the scorpion of the Writing the sacrificial rust embroidery and embroidery, Xu Xuxuan, suspended the tinea splendor, Xuan Xuexun, searching for training, Xu Xun, suppressing the crow, dumb, Yama, surprised, castrating the smoke, salt, Yan Yan, dislike, inkstone, Yan Yan, test, Yang Yang, ulcer, and itchy, nourishing the sacrificial ulcer Yao Yao Yao Yao Yao Yao Yao Kiln Song Medicine Master Pages Ye Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yi Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Yin Shi Yi En escorts and chants with mercenary carbuncles and chants with cherry and silver The uranium is still a uranium, and the fishing entertainment and the island language is called for the imperial prison, and the Yuanyuanyuan, the Yuanyuanyuan, the staff will be in a long time. I wish to make an appointment with the keys of Yue Yue Yue Yue Yun Yun Yun Yun Yun Yun Yun Yun Yun Yun Yun and the disasters are mixed. The stolen and dirty jujube stove is responsible for choosing the thief. The thief gave the thief to roll the gate and the felt slashing the felt till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the till the The final seed of the paper is a swollen and wrinkled rifle, and the pigs are killed and candles are stored in the building of special bricks, and the piles are decorated with strong cones and depressed. The total number of materials is a comprehensive guide. The Zou Jian group was only a foul and accurate notice of the slightest opening of the board's flag';
}
function FTPYStr()
{
return 'Silicon stacking backing 'is the right';
}
function JTPYWord(){
var jtpyword = new Array('"','','','','','','','Tripod','Tripod','Chinese,'Serial','Serial accelerator','Ethernet' ,'cheese','double','diode','interactive','Azerbaijan','Artificial Intelligence','interface','free kick','free player',
'Server','word','byte','priority','yuan','culprit','disc','optical drive','client','client','client','client','client','client','client','client','client','client','client' ,'Winter','Cold Dishes','Cold Dishes',
'murder weapon','murderer','s hands','murderer',' case','murderer','campaign case',''evil','',''brutal',''','','','','','','','','','','','','','','','','','','','','','',' 'Bad','Distributed','Print','Liechtenstein','Ribbon Cut',
'Gabon','bus','LAN','Trini and Tobago','Trinida and Tobago','Half-width','Kata','Qatar','Print',' 'Print','Eritre','Eritrea','Ecuador','Ecuador','Ecuador',
'Swaziland','Swazi','Djibouti','Djibouti','Kiribati','Va','Tuvalu','Kazakhstan','Costa Rica',' Costa Rica, 'Georgia', 'Georgia', 'Georgia', 'Georgia', 'Georgia', 'mouth',
'Turkmenistan', 'potato', 'potato', 'potato net', 'tanzania', 'tanzania', 'port', 'tajikistan', 'seychelles', 'seychelles', 'seychelles', ' Cyprus','summer','summer',
'Dominican Republic', 'Dominican Republic', 'Dominican Republic', 'Dominican States', 'Dominican Republic', 'Shuttle', 'Nigeria', 'Nigeria', 'Nigeria', 'Nigeria', '
'characters','font size','font library','character set','save','Antigua and Barbuda','Antigua and Barbuda','Song Yuan','Honduras',' Addressing, 'winter vacation', 'broadband', 'lao', 'laos',
'Ba','Bi','Zambia','Niger','Niger','Cave','Papua New Guinea','Barbados','Burkina Faso' ,'Bukifaso','Bush','Bush','Palau','Routine',
'Ping the rebellion', 'Ping the rebellion', 'Guinea Bissau', 'Bi', 'River', 'Cailou', 'Cai Pail', 'Recovery', 'Heart', 'Flash memory', 'Flash memory', 'Sensing', 'Customer', 'Playing and Entertainment',
'Flashlight', 'Flashlight', 'Branch', 'Napoleon', 'Shaft', 'Scanner', 'Hook', 'Control', 'Billiard', 'Billiard', 'Billiard', 'Billiard', 'Billiard', 'Billiard', 'Billiard', 'Portable','Story','Modem','Distribution','Slovenian','Slovenia',
'New Era', 'New Dollar', 'Day', 'Spring Break', 'Spring Day', 'Spring Day', 'Chid', 'Summer Vacation', 'Card', 'Clinton', ' Green', 'Grenada', 'Van Gogh', 'Forest', 'Durian', 'Simulation',
'Mauritius', 'Robot', 'Field', 'Vowel', 'Yongli', 'Brunei', 'Saudi Arabia', 'Saudi Arabia', 'Saudi Arabia', ' Bosny Herzegona, 'Bosnia and Herzegovina', 'Botswana', 'Botswa', 'Hussein', 'Hoin', 'Hoin', '
'Deep','cursor','mouse','algorithm','Uzbekistan','phrase','Sierra Leone','Guatemala','Guatela','Gambia','by','suspicious' ,'Suspectedly','Pi Qiu','Wang','Rwanda','Real murderer','Real','Silicon wafer','Silicon Valley',
'Hard disk', 'hardware', 'disk', 'disk', 'track', 'Fox', 'Autumn holiday', 'Autumn day', 'Program control', 'Tunisia', 'end note ','bungee jump','tie jump','equal to','short','sMS','New Zealand','New Zealand','Solomon Islands','Sogroup',
'Sori','Somali','Keep Color','Cape Verde','Network','Internet','Colored Ball','Colored Silk','Colored Line','Colored Boat','colored clothes',''urge to kill the evil,'',''',''',''',''',''','''',''''','''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
'St. Kitts and Nevis', 'Gissy', 'Vincent and the Grendins', 'St. Vincent and the Grendins', 'St. Lucia', 'St.', 'St. Marino', 'Strength','Belly','Kenya','Kenya','Free Kick',
'University of Astronautics','Mauritania','Mauritania','Mozambique','Wanli','Vanuatu','Vanua','Yemen',' Como', 'Comoros', 'Burundi', 'Guina', 'Guyana', 'Hotpot cap', 'Suriname',
'Asses','Asses','After the Aggression','After the Aggression','Flow','Mobile Telephone','Itinerary Control','Sanitation','Ethiopia',' Ethiopia','hook outside','face','resolution','decoding','taxi','permissions','nauru','authority','authority','author',
'Variable','Ivoire',','Benin','Belize','Belize','','','buy bad','','','','','buy bad',''database',''Information theory','Mercedes-Benz', 'Pingji','Liberia','Liberia','Soto','Lesotho','Floppy drive','Piece','Software','Loading',
'Zimbabwe','Zimbabwe','Vocabulary','Ghana','Ga','Chasing the Fierce,'Chasing the Fierce,''Careful',''Careful',''Careful',''Careful',''Careful',''Careful' Doujun', 'ready food', 'instant noodles', 'fast noodles', 'hyphen', 'price', 'goal', 'operator', 'program control', 'remote control',
'',''academy',''again',''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ','offline','snow','snow ','citroen','asynchronous',' sound card','default','','','',
'Domain', 'Head', 'Goal', 'Republic of Mali', 'Rich Republic', 'Malta', 'Maldives', 'Dive', 'Diana', 'Dai Anna','','bitmap','shop','shop','submit','shop','shop','Taiwan','release','cloth');
return jtpyword;
}
function FTPYWord(){
var ftpyword = new Array('"','','','','','','','three','Chinese,'tseries','tseries accelerator','ether', 'cheese','two','two','interchange','Zerbairan','artificial intelligence','interface','free kick','free kick',
'Server','Bit','Bit','Pre-order','Cause culprit','Cause culprit','Cause culprit','Disc','Cause ecsi','Cause ecsi',' shape, 'winter', 'winter', 'cold', 'cold', 'cold',
'Murder weapon','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer','Murderer', ','bad','dispersed','print','Liechtenstein','cut','
'Gapen','flow row','domain','Chritoge','Chritoge','half-shaped','card','card','print','print',' '',''Ecuador','Ecuador','Ecuador','
'Shiva','Shiva','Djibouti','Djibouti','Giribas','Tuwa','Tuwa','Hak','Costa Rica',' Costa Rica','treat','treat','treat','treat','treat','
'Turman','Potato','Potato','Tanshanni','Tanshanni','Potato','Tajik','Sehi','Sehi','Sehi','Sehi','Sehi','Sehi' Luce','summer','summer',
'Dominican,'Dominican,'Dominican,'Dominic','Dominic','Dominic','Space shuttle','Nigeri','Nigeri','Niger profit',
'font size', 'font size', 'font set', 'storing', 'Andika and Babu', 'Andika and Babu', 'Song and Yuan dynasties', 'Hong Duras','local location','winter vacation','','liao','liao','
'Shombi','Chambi','Nige','Nige','Camboa','Babu','Babu','Bado','Bhugi Faso',' Bugi Faso,'Busch,'Busch,'Palau,'Conventional,'
'Pingzhi','Pingzhi','Peso','Piso','color','rehearsal','color','color','color card','','','','','','','',' Fast,'feel','use','','
'Bonuses','Branch','Napole','Napole','Jagu','Sight','','','','','','','Control','Billiard','Billiard' ,'type','story','','','','','Sloney','Sloney','
'Sing dollar', 'Sing dollar', 'day', 'spring break', 'spring day', 'spring day', 'scissel', 'summer vacation', 'Chad', 'Colin', 'Ko Lin','Grena','Grena','Van Gogh','Forest','Dued','Dued','Model',
'Morisis', 'Morisis', 'robot', 'bit', 'vulgar voice', 'yong', 'vine', 'vine', 'saldi Arabia', 'saldi Arabia', 'saldi Arabia' ','Bosny Hersego','Bosny Hersego','Botswana','Botswana','Haishan','Haishan',
'Deep', 'Go', 'Mouse', 'Algorithm', 'Ke', 'Piece', 'Zishan', 'Guatella', 'Guatella', 'Gabi', 'Ganbi', 'Gan Compare,'suspicious murderer','Pi Qiu','An','An','real murderer','real murderer','silicon film','Silicon Valley',
'hard drive','hard','disc','magnetic','Foss','Autumn holiday','Autumn','Autumn','Program control','Tunisia West','Chapter','Stupid','Stupid','Equal to','','','','','','','','','Soqun','Soqun','Soqun','
'Solly','Solly','','Cape De,'Road,'Road,'Road,'Ball','','','','','','','','','','','','','','','','','','','','','','','','','','','','',' ','evil','evil','evil','evil','evil','evil','old-name',
'Christof and Nice', 'Christof and Nice', 'Vincent and Grenadine', 'Vincent and Grenadine', 'Lucy', 'Lucy', 'Lee', 'Li','Belly','Ken','Ken','Freeball',
'Space','Pain','Mauritani','Mauritani','Mosani','','','','','','','','' ','Gemo','Gemo','Puron land',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',',','
'Assay','Assay','Assay','Assay','Assay','Assay','Assay','Assay','Assay','Assay','Assay','Ethiopian', 'Ethiopian','git outside','face','resolution','s solution','program','','','','',
'','Ivory Coast','South','Rees','Rees','Fierce','Fierce','Fierce','Material','State','State','State' ','Bire','Bire','Soto','Soto','Disc','','','','','','','
'Simbawi','Simbawi','','Ga','Ga','Ca','Chasing the Fierce,'Chasing the Fierce,''Chasing the Fierce,''Chasing the Fierce,''Chasing the Fierce,''Chasing the Fierce,''Chasing the Fierce,''Chasing the Fierce,''Chasing the Fierce,''Chasing the 'Speed of fierceness', 'Fast food', 'Fast food', 'Fast food', 'Position', 'Ball', 'Counting Element', 'Process Control', 'Process Control',
'Nadu','Yi','','','','','','','','','','','','','','','','','','','','','','','','' ,'','snow','snow light','snow','asynchronous','sound card','','cloth','cloth','cloth',
'domain','mall','ball','League','League','He,'Dear','Dear','Dear','Dear','Dear','Dear',' '','','','Exhibition','Send out','Exhibition','','','','','');
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 Simplified(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&&t.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(document.cookie.substring(offset, end))
}
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") //Not IE browser
{
href="javascript:StranBody()"
}
else
{
href="#";
onclick= new Function("StranBody();return false")
}
title=StranText("Click to browse in traditional Chinese",1,1);
innerHTML=StranText(innerHTML,1,1);
}
if(BodyIsFt=="1"){setTimeout("StranBody()",StranIt_Delay)}
}
At first I thought it was caused by that recursion problem, but the test found that even if it was a lot of characters, it could still be replaced quickly.
After investigation, it turned out that the JS and OBJECT tags would cause the problem of being stuck. The implementation of traditional and simple switching will inevitably skip certain tags. When you see this paragraph, its function is to judge which tags are replaced.
The code copy is 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)
}
Add this and everything is normal:
The code copy is as follows:
if(OO.tagName=="OBJECT")continue;
if(OO.tagName=="SCRIPT")continue;