Greasy Fork 支持简体中文。

youdaoGWZS

有道购物助手

  1. // ==UserScript==
  2. // @name youdaoGWZS
  3. // @description 有道购物助手
  4. // @update 2015-09-28
  5. // @create 2011-12-30
  6. // @version 0.1
  7. // @author Harv
  8. // @grant GM_getValue
  9. // @grant GM_setValue
  10. // @namespace https://greasyfork.org/scripts/15689
  11. // @include http://*.001town.com/*
  12. // @include http://*.01goo.com/*
  13. // @include http://*.03l.cn/*
  14. // @include http://*.133china.com/*
  15. // @include http://*.139shop.com/*
  16. // @include http://yxp.163.com/*
  17. // @include http://*.168dg.com/*
  18. // @include http://*.186mall.com/*
  19. // @include http://*.18to82.com/*
  20. // @include http://*.1j.cn/*
  21. // @include http://*.22shop.com/*
  22. // @include http://*.24dq.com/*
  23. // @include http://*.24quan.com/*
  24. // @include http://*.258sd.com/*
  25. // @include http://*.2688.com/*
  26. // @include http://*.360buy.com/*
  27. // @include http://*.360hqb.com/*
  28. // @include http://*.360kxr.com/*
  29. // @include http://*.360mart.com/*
  30. // @include http://*.365goba.com/*
  31. // @include http://*.38hzt.com/*
  32. // @include http://*.39ty.com/*
  33. // @include http://*.4inlook.com/*
  34. // @include http://*.5188bag.com/*
  35. // @include http://*.51buy.com/*
  36. // @include http://*.51dg.com/*
  37. // @include http://*.51eng.com/*
  38. // @include http://*.51sheyuan.com/*
  39. // @include http://*.51youpin.com/*
  40. // @include http://*.520eye.com/*
  41. // @include http://*.52shehua.com/*
  42. // @include http://*.5366.com/*
  43. // @include http://t.58.com/*
  44. // @include http://*.58hua.com/*
  45. // @include http://*.5lux.com/*
  46. // @include http://*.5yth.com/*
  47. // @include http://*.6919.com/*
  48. // @include http://*.6sbuy.com/*
  49. // @include http://*.77toy.com/*
  50. // @include http://*.7caihua.com/*
  51. // @include http://*.7cv.com/*
  52. // @include http://*.7sev.com/*
  53. // @include http://*.80ebus.com/*
  54. // @include http://*.8801.net/*
  55. // @include http://*.919it.com/*
  56. // @include http://*.929.cn/*
  57. // @include http://*.942radio.com/*
  58. // @include http://b2c.958shop.com/*
  59. // @include http://*.96128.com/*
  60. // @include http://*.99pto.com/*
  61. // @include http://*.99read.com/*
  62. // @include http://*.9dadao.com/*
  63. // @include http://*.afffff.com/*
  64. // @include http://*.ai356.com/*
  65. // @include http://*.aidai.com/*
  66. // @include http://*.aiju.com/*
  67. // @include http://*.aim36.com/*
  68. // @include http://*.aimer.com.cn/*
  69. // @include http://*.aiyingshi.com/*
  70. // @include http://*.aizhigu.com.cn/*
  71. // @include http://*.amazon.cn/*
  72. // @include http://*.anni.com/*
  73. // @include http://*.apabi.com/*
  74. // @include http://*.augshow.com/*
  75. // @include http://*.autosup.com/*
  76. // @include http://*.baiyjk.com/*
  77. // @include http://*.bbesports.com/*
  78. // @include http://*.bearbuy.com.cn/*
  79. // @include http://*.beautyplus.cn/*
  80. // @include http://*.beifabook.com/*
  81. // @include http://*.benq.com.cn/*
  82. // @include http://*.best1.com/*
  83. // @include http://*.biaoshang.hk/*
  84. // @include http://*.binggo.com/*
  85. // @include http://*.bloves.com/*
  86. // @include http://*.bobomobi.com/*
  87. // @include http://*.bookschina.com/*
  88. // @include http://*.boqii.com/*
  89. // @include http://*.buding.com/*
  90. // @include http://*.buy007.com/*
  91. // @include http://*.buy361.cn/*
  92. // @include http://*.buyfine.net/*
  93. // @include http://*.buynow.com.cn/*
  94. // @include http://*.caistv.com/*
  95. // @include http://*.caomeipai.com/*
  96. // @include http://*.car339.com.cn/*
  97. // @include http://*.car6688.com/*
  98. // @include http://*.carrefour.com.cn/*
  99. // @include http://*.cdream.com/*
  100. // @include http://*.ceetop.com/*
  101. // @include http://*.chashu.cn/*
  102. // @include http://*.chedangjia.com/*
  103. // @include http://*.chengdecs.com/*
  104. // @include http://*.china-gift.com/*
  105. // @include http://*.china-pub.com/*
  106. // @include http://emall.chinapay.com/*
  107. // @include http://*.chinayrs.com/*
  108. // @include http://*.chris-tina.com/*
  109. // @include http://*.clady.com/*
  110. // @include http://*.clinique.com.cn/*
  111. // @include http://*.cncard.com/*
  112. // @include http://*.cnfse.com/*
  113. // @include http://*.colebuy.com/*
  114. // @include http://*.conslive.com/*
  115. // @include http://*.coo8.com/*
  116. // @include http://*.cosize.com/*
  117. // @include http://*.cosme-de.com/*
  118. // @include http://dangdang.com/
  119. // @include http://*.cw100.com/*
  120. // @include http://*.d1.com.cn/*
  121. // @include http://*.daisonghua.com/*
  122. // @include http://*.dangdang.com/*
  123. // @include http://*.daoyao.com/*
  124. // @include http://*.dazhe.cn/*
  125. // @include http://*.dazhongdianqi.com.cn/*
  126. // @include http://*.dianpu.com/*
  127. // @include http://*.didatuan.com/*
  128. // @include http://*.disiqu.cn/*
  129. // @include http://*.dixintong.com/*
  130. // @include http://*.doulaimai.com/*
  131. // @include http://*.dsgoo.com/*
  132. // @include http://*.dtoto.com/*
  133. // @include http://*.duhub.com/*
  134. // @include http://*.duoding.com/*
  135. // @include http://*.e-giordano.com/*
  136. // @include http://*.e-lining.com/*
  137. // @include http://*.e-my.com.cn/*
  138. // @include http://*.easy361.com/*
  139. // @include http://*.ebaimi.com/*
  140. // @include http://*.eboxbuy.com/*
  141. // @include http://*.ebtea.com/*
  142. // @include http://*.ecosme.cn/*
  143. // @include http://*.efeihu.com/*
  144. // @include http://*.ehaier.com/*
  145. // @include http://*.ejia.com/*
  146. // @include http://*.enjoyeye.com/*
  147. // @include http://*.epetbar.com/*
  148. // @include http://*.et5155.com/*
  149. // @include http://*.f508.com/*
  150. // @include http://*.fclub.cn/*
  151. // @include http://*.flowerby.com/*
  152. // @include http://*.flowercn.com/*
  153. // @include http://*.gap.cn/*
  154. // @include http://*.godida.com/*
  155. // @include http://*.gome.com.cn/*
  156. // @include http://*.goocctv.cn/*
  157. // @include http://*.goodjd.com/*
  158. // @include http://*.goodnourish.cn/*
  159. // @include http://*.gou3618.com/*
  160. // @include http://*.gouduo.com/*
  161. // @include http://*.gouwulian.com/*
  162. // @include http://*.gouxie.com/*
  163. // @include http://*.goyahome.com/*
  164. // @include http://*.guobuy.com/*
  165. // @include http://*.guopi.com/*
  166. // @include http://*.guuoo.com/*
  167. // @include http://*.hany.cn/*
  168. // @include http://*.happigo.com/*
  169. // @include http://*.hit168.com.cn/*
  170. // @include http://*.hitao.com/*
  171. // @include http://*.homeold.cn/*
  172. // @include http://*.homevv.com/*
  173. // @include http://*.hongkouzi.com/*
  174. // @include http://*.hopebook.net/*
  175. // @include http://*.huachu.com.cn/*
  176. // @include http://*.huimeifang.cn/*
  177. // @include http://*.hw2008.cn/*
  178. // @include http://*.icaifeng.com/*
  179. // @include http://www.sfbest.com/*
  180. // @include http://*.ideemall.com/*
  181. // @include http://*.ihush.com/*
  182. // @include http://*.iloveyou.com.cn/*
  183. // @include http://*.ilovezuan.com/*
  184. // @include http://*.imeelee.com/*
  185. // @include http://*.inoble.com.cn/*
  186. // @include http://*.inshion.com/*
  187. // @include http://*.ishop.cn/*
  188. // @include http://*.it88.com.cn/*
  189. // @include http://*.itzm.com/*
  190. // @include http://*.iyuyou.com/*
  191. // @include http://*.jiajiajk.com/*
  192. // @include http://*.jiaju.com/*
  193. // @include http://*.jiatx.com/*
  194. // @include http://*.jiayougo.com/*
  195. // @include http://*.jinbaidu.com/*
  196. // @include http://*.jmeishop.com/*
  197. // @include http://*.joyran.com/*
  198. // @include http://*.jsbcmall.com/*
  199. // @include http://*.jtlhome.com/*
  200. // @include http://*.jumei.com/*
  201. // @include http://*.junph.com/*
  202. // @include http://*.justonline.cn/*
  203. // @include http://*.jxdyf.com/*
  204. // @include http://*.k121.com/*
  205. // @include http://*.kadang.com/*
  206. // @include http://*.keede.com.cn/*
  207. // @include http://*.kela.cn/*
  208. // @include http://*.kuaishubao.com/*
  209. // @include http://*.kxtkx.com/*
  210. // @include http://*.ladypk.com/*
  211. // @include http://*.laeibelle.com/*
  212. // @include http://*.lafaso.com/*
  213. // @include http://*.lamiu.com/*
  214. // @include http://*.lancome.com.cn/*
  215. // @include http://*.lashou.com/*
  216. // @include http://*.ledaojia.com/*
  217. // @include http://*.leftlady.com/*
  218. // @include http://*.lens2005.com/*
  219. // @include http://*.letao.com/*
  220. // @include http://*.leyou.com/*
  221. // @include http://*.leyou.com.cn/*
  222. // @include http://*.lijiababy.com.cn/*
  223. // @include http://*.lijigou.com/*
  224. // @include http://*.likebuy.com/*
  225. // @include http://*.likeface.com/*
  226. // @include http://*.lingshi.com/*
  227. // @include http://*.liqunshop.com/*
  228. // @include http://*.liyi99.com/*
  229. // @include http://*.locknlock.com.cn/*
  230. // @include http://*.lovo.cn/*
  231. // @include http://*.luckigo.com/*
  232. // @include http://*.lusen.com/*
  233. // @include http://*.lyceem.com/*
  234. // @include http://*.m18.com/*
  235. // @include http://*.maichawang.com/*
  236. // @include http://*.maimaike.cn/*
  237. // @include http://*.mamabb.com/*
  238. // @include http://*.mamahao.cn/*
  239. // @include http://*.mangocity.com/*
  240. // @include http://*.manzuo.com/*
  241. // @include http://*.masamaso.com/*
  242. // @include http://*.maxfunbuy.com/*
  243. // @include http://*.maywon.com/*
  244. // @include http://*.mbaobao.com/*
  245. // @include http://*.meici.com/*
  246. // @include http://*.meilele.com/*
  247. // @include http://*.meilieasy.com/*
  248. // @include http://*.meituan.com/*
  249. // @include http://*.menglu.com/*
  250. // @include http://*.mengmai.com/*
  251. // @include http://*.minibuy.com/*
  252. // @include http://*.mmgw.cn/*
  253. // @include http://*.mmuses.com/*
  254. // @include http://*.mobi001.com/*
  255. // @include http://*.mokamall.com/*
  256. // @include http://*.momoyoyo.com/*
  257. // @include http://*.montrosechina.com/*
  258. // @include http://*.mooiee.com/*
  259. // @include http://*.moonbasa.com/*
  260. // @include http://*.motostore.com.cn/*
  261. // @include http://*.mpshow.com.cn/*
  262. // @include http://*.naccoo.com/*
  263. // @include http://*.naguu.com/*
  264. // @include http://*.nayao.com/*
  265. // @include http://*.newegg.com.cn/*
  266. // @include http://*.newgo5.com/*
  267. // @include http://*.nmlch.com/*
  268. // @include http://*.no5.com.cn/*
  269. // @include http://*.nonmin88.com/*
  270. // @include http://*.obuy.cn/*
  271. // @include http://*.ofcard.com/*
  272. // @include http://*.ogage.cn/*
  273. // @include http://*.okbig.com/*
  274. // @include http://*.okbuy.com/*
  275. // @include http://*.okddy.com/*
  276. // @include http://*.okgolf.cn/*
  277. // @include http://*.olomo.com/*
  278. // @include http://*.olympus.com.cn/*
  279. // @include http://*.olymsports.com/*
  280. // @include http://*.ono.com.cn/*
  281. // @include http://*.orange3c.com/*
  282. // @include http://(*.)?ouku.com/*
  283. // @include http://*.ourtasty.com/*
  284. // @include http://*.outice.com/*
  285. // @include http://*.oyego.com/*
  286. // @include http://*.paixie.net/*
  287. // @include http://*.palcent.com/*
  288. // @include http://*.pb89.com/*
  289. // @include http://*.pcarm.com/*
  290. // @include http://*.petyoo.com/*
  291. // @include http://*.pgbao.com/*
  292. // @include http://*.piaoliang100.com/*
  293. // @include http://*.pirateship.com.cn/*
  294. // @include http://*.popyj.com/*
  295. // @include http://*.pupai.cn/*
  296. // @include http://*.purcotton.com/*
  297. // @include http://*.qianxun.com/*
  298. // @include http://*.qingci.com/*
  299. // @include http://*.qinqinbaby.com/*
  300. // @include http://*.qmango.com/*
  301. // @include http://*.qumei.com/*
  302. // @include http://*.quwan.com/*
  303. // @include http://*.qxian.com/*
  304. // @include http://*.rayi.cn/*
  305. // @include http://*.redbaby.com.cn/*
  306. // @include http://*.robam.com/*
  307. // @include http://*.salala.com.cn/*
  308. // @include http://*.samsclub.cn/*
  309. // @include http://*.sanfo.com/*
  310. // @include http://*.sapo.com.hk/*
  311. // @include http://*.sasa.com/*
  312. // @include http://*.sasacity.com/*
  313. // @include http://*.sawbuy.com/*
  314. // @include http://*.shanghai-sports.com/*
  315. // @include http://*.shentop.com/*
  316. // @include http://*.shishangqiyi.com/*
  317. // @include http://*.shjdq.com/*
  318. // @include http://*.shnn.com/*
  319. // @include http://*.shopin.net/*
  320. // @include http://*.shoubiao.com.cn/*
  321. // @include http://*.sigo.cn/*
  322. // @include http://*.sinobuy.cn/*
  323. // @include http://*.skcoo.com/*
  324. // @include http://*.skomart.com/*
  325. // @include http://*.snyun.com/*
  326. // @include http://*.sonmai.cn/*
  327. // @include http://*.sport2008.com.cn/*
  328. // @include http://*.strawberrynet.com/*
  329. // @include http://*.suning.com/*
  330. // @include http://*.sz-esun.com/*
  331. // @include http://*.tao3c.com/*
  332. // @include http://item.taobao.com/*
  333. // @include https://item.taobao.com/*
  334. // @include http://*.taoxie.cn/*
  335. // @include http://*.the365.com/*
  336. // @include http://*.thinkshop.cn/*
  337. // @include http://*.tian10.com/*
  338. // @include http://*.tiantian.com/*
  339. // @include http://detail.tmall.com/*
  340. // @include https://detail.tmall.com/*
  341. // @include http://*.togj.com/*
  342. // @include http://*.tooogooo.com/*
  343. // @include http://*.toy90.com/*
  344. // @include http://*.toys365.com/*
  345. // @include http://*.tpy100.com/*
  346. // @include http://*.tuniu.com/*
  347. // @include http://*.tztart.com/*
  348. // @include http://*.ugou.cn/*
  349. // @include http://*.uipmall.com/*
  350. // @include http://*.uiyi.cn/*
  351. // @include http://*.ushan.cn/*
  352. // @include http://*.uushouji.com/*
  353. // @include http://*.uya100.com/*
  354. // @include http://*.vaakav.com/*
  355. // @include http://*.vafox.com/*
  356. // @include http://*.vancl.com/*
  357. // @include http://*.vcotton.com/*
  358. // @include http://*.veedl.com/*
  359. // @include http://*.vegoos.com/*
  360. // @include http://*.venusveil.com/*
  361. // @include http://*.veryok.cn/*
  362. // @include http://*.viccol.com/*
  363. // @include http://*.vipshop.com/*
  364. // @include http://*.vipstore.com/*
  365. // @include http://*.vivian.cn/*
  366. // @include http://*.vjia.com/*
  367. // @include http://*.vnasi.com/*
  368. // @include http://*.voipyeah.com/*
  369. // @include http://*.w1.cn/*
  370. // @include http://*.waipowang.com/*
  371. // @include http://*.wangshanghai.com/*
  372. // @include http://*.wg365.com/*
  373. // @include http://*.winenice.com/*
  374. // @include http://*.wl.cn/*
  375. // @include http://womai.com/*
  376. // @include http://*.woye.com/*
  377. // @include http://*.wtaotao.com/*
  378. // @include http://*.wumeiwang.com/*
  379. // @include http://*.x-playboy.com/*
  380. // @include http://*.xiaokang.com/*
  381. // @include http://*.xiaozhuren.com/*
  382. // @include http://*.xinbaigo.com/*
  383. // @include http://*.xindou.com/*
  384. // @include http://*.xing800.com/*
  385. // @include http://*.xinhuabookstore.com/*
  386. // @include http://*.xiu.com/*
  387. // @include http://*.xtpo.cn/*
  388. // @include http://*.xzuan.com/*
  389. // @include http://*.yaja.com.cn/*
  390. // @include http://*.yaofang.cn/*
  391. // @include http://*.yasai.cn/*
  392. // @include http://*.yeecare.com/*
  393. // @include http://*.yesmytea.com/*
  394. // @include http://*.yesmywine.com/*
  395. // @include http://*.yide.com/*
  396. // @include http://*.yifu.com/*
  397. // @include http://*.yihaodian.com/*
  398. // @include http://*.yintai.com/*
  399. // @include http://*.yinyuehe.net/*
  400. // @include http://*.yjcs.cn/*
  401. // @include http://*.yobrand.com/*
  402. // @include http://*.yoger.com.cn/*
  403. // @include http://*.yoho.cn/*
  404. // @include http://*.yongle.com.cn/*
  405. // @include http://*.yougou.com/*
  406. // @include http://*.youjk.com/*
  407. // @include http://*.yoyo18.com/*
  408. // @include http://*.yumaoclub.com/*
  409. // @include http://*.yyosso.com/*
  410. // @include http://*.zbird.com/*
  411. // @include http://*.zgcbb.com/*
  412. // @include http://*.zm7.cn/*
  413. // @include http://*.zopo.com/*
  414. // @include http://*.ocj.com.cn/*
  415. // @include http://*.bookuu.com/*
  416. // @include http://*.woyo.com/*
  417. // @include http://*.ibuying.com/*
  418. // @include http://*.33go.com.cn/*
  419. // @include http://*.xijie.com/*
  420. // @include http://*.nop.cn/*
  421. // @include http://*.asyp.com/*
  422. // @include http://*.sparty.cn/*
  423. // @include http://*.yizhedian.com/*
  424. // @include http://*.lvhezi.com/*
  425. // @include http://*.aishangbaobao.com/*
  426. // @include http://*.sportica.cn/*
  427. // @include http://*.jstsilk.cn/*
  428. // @include http://*.camel.com.cn/*
  429. // @include http://*.cottonpop.net/*
  430. // @include http://*.hyj.com/*
  431. // @include http://*.myxiequ.com/*
  432. // @include http://*.mfplaza.com/*
  433. // @include http://*.do93.com/*
  434. // @include http://*.3guo.cn/*
  435. // @include http://*.yaqifushi.com/*
  436. // @include http://*.trura.com/*
  437. // @include http://*.lbaobao.cn/*
  438. // @include http://*.xiutuan.com/*
  439. // @include http://*.usashopcn.com/*
  440. // @include http://*.ihaveu.com/*
  441. // @include http://*.vipku.com/*
  442. // @include http://*.vipchina.com/*
  443. // @include http://*.fanrry.cn/*
  444. // @include http://*.lesunvip.com/*
  445. // @include http://*.nala.com.cn/*
  446. // @include http://*.miqi.cn/*
  447. // @include http://*.meiribuy.com/*
  448. // @include http://*.pufung.com/*
  449. // @include http://*.xiaoye.com/*
  450. // @include http://*.hmeili.com/*
  451. // @include http://*.oulybuy.com/*
  452. // @include http://*.meifenzi.com/*
  453. // @include http://*.caomeishop.com/*
  454. // @include http://*.meifu360.com/*
  455. // @include http://*.bapashop.com/*
  456. // @include http://*.bulangxiongdi.com/*
  457. // @include http://*.gusubuy.com/*
  458. // @include http://*.opearl.net/*
  459. // @include http://*.ruci.cn/*
  460. // @include http://*.rax.cn/*
  461. // @include http://*.jiuxian.com/*
  462. // @include http://*.maimaicha.com/*
  463. // @include http://*.pinwine.cn/*
  464. // @include http://*.meiweidao.com/*
  465. // @include http://*.okliang.com/*
  466. // @include http://*.365wine.com/*
  467. // @include http://*.jjlg.com.cn/*
  468. // @include http://*.bianlishe.com/*
  469. // @include http://*.epkmall.com/*
  470. // @include http://*.gdcct.com/*
  471. // @include http://*.500ccc.com/*
  472. // @include http://*.me361.com/*
  473. // @include http://*.malatamobile.com/*
  474. // @include http://*.trioo.com/*
  475. // @include http://*.oohdear.com/*
  476. // @include http://*.yaahe.cn/*
  477. // @include http://*.easeeyes.com/*
  478. // @include http://*.dbox.cn/*
  479. // @include http://*.haotehui.com/*
  480. // @include http://*.m6go.com/*
  481. // @include http://*.bianyigo.com/*
  482. // @include http://*.okjee.com/*
  483. // @include http://*.mygeek.cn/*
  484. // @include http://*.tbb.cn/*
  485. // @include http://*.ushare360.com/*
  486. // @include http://*.gqt168.com/*
  487. // @include http://*.konjoy.com/*
  488. // @include http://*.aoliz.com/*
  489. // @include http://*.jianianle.com/*
  490. // @include http://*.akajia.com/*
  491. // @include http://*.miqi.com.cn/*
  492. // @include http://*.lehuimai.com/*
  493. // @include http://*.lifevc.com/*
  494. // @include http://buy.yesky.com/*
  495. // @include http://*.55tuan.com/*
  496. // @include http://t.dianping.com/*
  497. // @include http://*.nuomi.com/*
  498. // @include http://carrefour.com.cn/
  499. // @include http://51buy.com/
  500. // @include http://*.womai.com/*
  501. // @include http://*.lefeng.com/*
  502. // @include http://www.1mall.com/*
  503. // @include http://s.taobao.com/search\?*
  504. // @include https://s.taobao.com/search\?*
  505. // @include http://www.vegaga.com/*
  506. // @include http://*.buy.qq.com/*
  507. // @include http://list.tmall.com/search_product.htm*
  508. // @include https://list.tmall.com/search_product.htm*
  509. // @include http://*.jd.com/*
  510. // ==/UserScript==
  511. (function() {
  512. var version = '3.1';
  513.  
  514. var optionNode = document.getElementById('youdaoGWZS_options');
  515. if(!optionNode) {
  516. optionNode = document.createElement('span');
  517. optionNode.id = 'youdaoGWZS_options';
  518. optionNode.style.display = 'none';
  519. optionNode.innerHTML = GM_getValue('jsoptions', 'position=down;vendor=youdao;browser=firefox;version=' + version);
  520.  
  521. var wr = document.createElement("span");
  522. wr.id = "youdao_gouwu";
  523. wr.style.display = 'none';
  524.  
  525. var conf = document.createElement("span");
  526. conf.id = "youdaoGWZS_config";
  527. conf.innerHTML = encodeURIComponent("{}");
  528. wr.appendChild(conf);
  529. wr.appendChild(optionNode);
  530.  
  531. document.body.appendChild(wr);
  532. new MutationObserver(function(mutations) {
  533. mutations.forEach(function(mutation) {
  534. var now = mutation.target.innerHTML;
  535. if(now != GM_getValue('jsoptions')) {
  536. GM_setValue('jsoptions', now);
  537. }
  538. });
  539. }).observe(optionNode, {
  540. childList: true
  541. });
  542. }
  543.  
  544. var daogw_s = document.createElement('script');
  545. daogw_s.charset = 'UTF-8';
  546. daogw_s.type = 'text/javascript';
  547. daogw_s.id = 'youdao_gouwu_assistant';
  548. daogw_s.src = 'https://shared-https.ydstatic.com/gouwuex/ext/script/extension_' + version.replace('.', '_') + '.js?vendor=youdao&browser=firefox&version=' + version; document.getElementsByTagName('head')[0].appendChild(daogw_s);
  549. })();