◆少前百科是非盈利性、非官方的少女前线维基百科。
◆如果您发现某些内容错误/空缺,请勇于修正/添加!参与进来其实很容易!点这里 加入少前百科
◆有任何意见、建议、纠错,欢迎在 GFwiki:反馈与建议 提出和讨论。编辑事务讨论QQ群:597764980,微博@GFwiki少前百科
◆To foreigners,You can use twitter to contact us.
Icon Nyto Silver.png

“Widget:AVGplayer/js”的版本间的差异

来自少前百科GFwiki
跳转至: 导航搜索
(更新)
第7行: 第7行:
 
     dollarray = JSON.parse(this.responseText.replace(/\/\*\s{1,4}\d{1,4}\s{1,4}\*\//g,"").replace(",\n}", "\n}"));}
 
     dollarray = JSON.parse(this.responseText.replace(/\/\*\s{1,4}\d{1,4}\s{1,4}\*\//g,"").replace(",\n}", "\n}"));}
 
};
 
};
xmlhttp_Spot.open("GET", "http://www.gfwiki.org/index.php?title=JSON:AVGDOLL&action=raw", true);
+
xmlhttp_Spot.open("GET", "/index.php?title=JSON:AVGDOLL&action=raw", true);
 
xmlhttp_Spot.send();
 
xmlhttp_Spot.send();
  
第15行: 第15行:
 
     bgarray = JSON.parse(this.responseText.replace(/\/\*\s{1,4}\d{1,4}\s{1,4}\*\//g,"").replace(",\n}", "\n}"));}
 
     bgarray = JSON.parse(this.responseText.replace(/\/\*\s{1,4}\d{1,4}\s{1,4}\*\//g,"").replace(",\n}", "\n}"));}
 
};
 
};
xmlhttp_Spot.open("GET", "http://www.gfwiki.org/index.php?title=JSON:AVGBGCG&action=raw", true);
+
xmlhttp_Spot.open("GET", "/index.php?title=JSON:AVGBGCG&action=raw", true);
 
xmlhttp_Spot.send();
 
xmlhttp_Spot.send();
  
第23行: 第23行:
 
     bgmarray = JSON.parse(this.responseText.replace(/\/\*\s{1,4}\d{1,4}\s{1,4}\*\//g,"").replace(",\n}", "\n}"));}
 
     bgmarray = JSON.parse(this.responseText.replace(/\/\*\s{1,4}\d{1,4}\s{1,4}\*\//g,"").replace(",\n}", "\n}"));}
 
};
 
};
xmlhttp_Spot.open("GET", "http://www.gfwiki.org/index.php?title=JSON:AVGBGM&action=raw", true);
+
xmlhttp_Spot.open("GET", "/index.php?title=JSON:AVGBGM&action=raw", true);
 
xmlhttp_Spot.send();
 
xmlhttp_Spot.send();
  
第38行: 第38行:
 
     "%%code=AVG_ink6%%":"https://img.nga.178.com/attachments/mon_202104/27/-bqqbQ51jt-1c69XuZ88T3cS8w-50.mp4?filename=ink6%2eusm%5f40534656%2emp4",
 
     "%%code=AVG_ink6%%":"https://img.nga.178.com/attachments/mon_202104/27/-bqqbQ51jt-1c69XuZ88T3cS8w-50.mp4?filename=ink6%2eusm%5f40534656%2emp4",
  
     "%%code=NPC_TV_0%%":"http://www.gfwiki.org/images/2/2c/NPC-news%280%29.png",
+
     "%%code=NPC_TV_0%%":"/images/2/2c/NPC-news%280%29.png",
     "%%code=NPC_TV_1%%":"http://www.gfwiki.org/images/2/2e/NPC-news%281%29.png",
+
     "%%code=NPC_TV_1%%":"/images/2/2e/NPC-news%281%29.png",
     "%%code=NPC_TV_2%%":"http://www.gfwiki.org/images/8/81/NPC-news%282%29.png",
+
     "%%code=NPC_TV_2%%":"/images/8/81/NPC-news%282%29.png",
     "%%code=NPC_TV_3%%":"http://www.gfwiki.org/images/b/bc/NPC-news%283%29.png",
+
     "%%code=NPC_TV_3%%":"/images/b/bc/NPC-news%283%29.png",
     "%%code=NPC_TV_4%%":"http://www.gfwiki.org/images/3/37/NPC-news%284%29.png",
+
     "%%code=NPC_TV_4%%":"/images/3/37/NPC-news%284%29.png",
     "%%code=NPC_TV_5%%":"http://www.gfwiki.org/images/7/76/NPC-news%285%29.png",
+
     "%%code=NPC_TV_5%%":"/images/7/76/NPC-news%285%29.png",
     "%%code=NPC_TV_6%%":"http://www.gfwiki.org/images/6/69/NPC-news%286%29.png",
+
     "%%code=NPC_TV_6%%":"/images/6/69/NPC-news%286%29.png",
     "%%code=NPC_TV_7%%":"http://www.gfwiki.org/images/1/1f/NPC-news%287%29.png",
+
     "%%code=NPC_TV_7%%":"/images/1/1f/NPC-news%287%29.png",
     "%%code=NPC_TV_8%%":"http://www.gfwiki.org/images/f/f4/NPC-news%288%29.png",
+
     "%%code=NPC_TV_8%%":"/images/f/f4/NPC-news%288%29.png",
     "%%code=NPC_TV_9%%":"http://www.gfwiki.org/images/f/f2/NPC-news%289%29.png",
+
     "%%code=NPC_TV_9%%":"/images/f/f2/NPC-news%289%29.png",
     "%%code=NPC_TV_10%%":"http://www.gfwiki.org/images/4/40/NPC-news%2810%29.png",
+
     "%%code=NPC_TV_10%%":"/images/4/40/NPC-news%2810%29.png",
     "%%code=NPC_TV_11%%":"http://www.gfwiki.org/images/0/05/NPC-news%2811%29.png",
+
     "%%code=NPC_TV_11%%":"/images/0/05/NPC-news%2811%29.png",
     "%%code=NPC_TV_12%%":"http://www.gfwiki.org/images/a/af/NPC-news%2812%29.png",
+
     "%%code=NPC_TV_12%%":"/images/a/af/NPC-news%2812%29.png",
     "%%code=NPC_TV_13%%":"http://www.gfwiki.org/images/1/13/NPC-news%2813%29.png",
+
     "%%code=NPC_TV_13%%":"/images/1/13/NPC-news%2813%29.png",
     "%%code=NPC_TV_14%%":"http://www.gfwiki.org/images/7/70/NPC-news%2814%29.png",
+
     "%%code=NPC_TV_14%%":"/images/7/70/NPC-news%2814%29.png",
     "%%code=NPC_TV_15%%":"http://www.gfwiki.org/images/8/8c/NPC-news%2815%29.png",
+
     "%%code=NPC_TV_15%%":"/images/8/8c/NPC-news%2815%29.png",
     "%%code=NPC_TV_16%%":"http://www.gfwiki.org/images/d/df/NPC-news%2816%29.png",
+
     "%%code=NPC_TV_16%%":"/images/d/df/NPC-news%2816%29.png",
     "%%code=NPC_TV_17%%":"http://www.gfwiki.org/images/d/dc/NPC-news%2817%29.png",
+
     "%%code=NPC_TV_17%%":"/images/d/dc/NPC-news%2817%29.png",
     "%%code=NPC_TV_18%%":"http://www.gfwiki.org/images/c/c6/NPC-news%2818%29.png",
+
     "%%code=NPC_TV_18%%":"/images/c/c6/NPC-news%2818%29.png",
     "%%code=NPC_TV_19%%":"http://www.gfwiki.org/images/c/cf/NPC-news%2819%29.png",
+
     "%%code=NPC_TV_19%%":"/images/c/cf/NPC-news%2819%29.png",
  
 
     "%%code=changjing_huafen%%":"",
 
     "%%code=changjing_huafen%%":"",
第506行: 第506行:
 
                         the_center += `<img src="` + dollarray[newavgdoll.center] + `" style="`;
 
                         the_center += `<img src="` + dollarray[newavgdoll.center] + `" style="`;
 
                         if((avgpicstr.indexOf("<通讯框>") != -1) && (avgpicstr.indexOf("<通讯框>") > avgpicstr.indexOf(";"))){
 
                         if((avgpicstr.indexOf("<通讯框>") != -1) && (avgpicstr.indexOf("<通讯框>") > avgpicstr.indexOf(";"))){
                             the_center += `background-color:#12131d; -webkit-mask-image:url(http://www.gfwiki.org/images/d/d0/Mask.png); -webkit-mask-position-x: 28px; -webkit-mask-size: 850px;"/>` + telemask + `<\/div>`;
+
                             the_center += `background-color:#12131d; -webkit-mask-image:url(/images/d/d0/Mask.png); -webkit-mask-position-x: 28px; -webkit-mask-size: 850px;"/>` + telemask + `<\/div>`;
 
                         } else the_center += `"/><\/div>`;
 
                         } else the_center += `"/><\/div>`;
 
                          
 
                          
第583行: 第583行:
 
                         the_left += `<img src="` + dollarray[newavgdoll.left] + `" style="`;
 
                         the_left += `<img src="` + dollarray[newavgdoll.left] + `" style="`;
 
                         if((avgpicstr.indexOf("<通讯框>") != -1) && (avgpicstr.indexOf("<通讯框>") < avgpicstr.indexOf(";"))){
 
                         if((avgpicstr.indexOf("<通讯框>") != -1) && (avgpicstr.indexOf("<通讯框>") < avgpicstr.indexOf(";"))){
                             the_left += `background-color:#12131d; -webkit-mask-image:url(http://www.gfwiki.org/images/d/d0/Mask.png); -webkit-mask-position-x: 28px; -webkit-mask-size: 850px;"/>` + telemask + `<\/div>`;
+
                             the_left += `background-color:#12131d; -webkit-mask-image:url(/images/d/d0/Mask.png); -webkit-mask-position-x: 28px; -webkit-mask-size: 850px;"/>` + telemask + `<\/div>`;
 
                         } else the_left += `"/><\/div>`;
 
                         } else the_left += `"/><\/div>`;
 
                         $("#avgbox").append(the_left);
 
                         $("#avgbox").append(the_left);
第601行: 第601行:
 
                         the_right += `<img src="` + dollarray[newavgdoll.right] + `" style="`;
 
                         the_right += `<img src="` + dollarray[newavgdoll.right] + `" style="`;
 
                         if((avgpicstr.indexOf("<通讯框>") != -1) && (avgpicstr.indexOf("<通讯框>") > avgpicstr.indexOf(";"))){
 
                         if((avgpicstr.indexOf("<通讯框>") != -1) && (avgpicstr.indexOf("<通讯框>") > avgpicstr.indexOf(";"))){
                             the_right += `background-color:#12131d; -webkit-mask-image:url(http://www.gfwiki.org/images/d/d0/Mask.png); -webkit-mask-position-x: 28px; -webkit-mask-size: 850px;"/>` + telemask + `<\/div>`;
+
                             the_right += `background-color:#12131d; -webkit-mask-image:url(/images/d/d0/Mask.png); -webkit-mask-position-x: 28px; -webkit-mask-size: 850px;"/>` + telemask + `<\/div>`;
 
                         } else the_right += `"/><\/div>`;
 
                         } else the_right += `"/><\/div>`;
 
                         $("#avgbox").append(the_right);
 
                         $("#avgbox").append(the_right);

2021年6月2日 (三) 13:02的版本