forked from slaeensh/ExView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dms.jsonp
95 lines (84 loc) · 10.3 KB
/
dms.jsonp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
(function(){
//初始化设置
var notificationid="20161001";
var newestversion="2.3.2";
var notificationinfo="声明:ExView是一个浏览器应用,如果你发现有侵权资源,请不要找我,去找相关站点,你们反编译可以看见ExView就是一个基于WebView的套壳浏览器,你们总不能说浏览器变换一下页面界面就侵权吧!<br>备注:安卓4.0-4.4,请去网盘下载高性能版或使用ExView+,4.4以上WebView性能低下的ROM系统也去下载ExView+!<br>通告:新架构2.2已经不兼容2.2以下的来源,请更新应用版本至2.2以上,和更新所有来源至2.2以上!";
var newestversioninfo="1.添加3D侧旁栏<br>2.添加\"边缘切换使用点击代替触摸\"选项<br>3.修复4.4图片浏览器不能上下滑动BUG<br>4.修复某些情况下滑动收藏项目消失BUG<br>5.今年最后一版,明年再见,承蒙各位厚爱~ ";
var updatepath=iscrosswalk()?'http://www.coolapk.com/apk/com.gentle.exview.plus':'http://www.coolapk.com/apk/com.gentle.exview';
var vipjson="W3sibmFtZSI6Ilx1NWM5YWRhbGFvIiwidGl0bGUiOiJcdTgzNjNcdThhODlcdTUxODVcdTZkNGJcdTc1MjhcdTYyMzciLCJxcSI6IjI2MDc1OTcxNCIsImltZyI6IiIsImltZWkiOiIiLCJ0aW1lIjowfSx7Im5hbWUiOiJcdTRlMGRcdTdiMjggXHUzMDZlIFx1N2IyOFx1ODZjYlx1MjE5Ml9cdTIxOTIiLCJ0aXRsZSI6Ilx1OGQ0NFx1NmRmMVx1NmQ0Ylx1OGJjNFx1NWUwOCIsInFxIjoiMTYwOD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y=flag.y;
var color=flag.color;
var size=flag.size;
var text=flag.text;
var from=flag.from;
var to=flag.to;
var begin=flag.begin;
var dur=flag.dur;
return '<text y="'+y+'" x="'+x+'" fill="'+color+'" style="font-size:'+size+';box-sizing:border-box">'+text+'<animate attributeName="x" from="'+from+'" to="'+to+'" begin="'+begin+'" dur="'+dur+'" repeatCount="indefinite" style="box-sizing:border-box;"></animate></text>';
};
var getvipuser=function(flag){
var name=flag.name;
var title=flag.title;
var qq=flag.qq;
var img=flag.img;
if(!name||(!qq&&!img))return '';
return '<div class="chip" style="box-shadow: 3px 3px 3px gray;background:rgb(57, 57, 57)"><div class="chip-media" style="background-image: url('+(img||'http://q.qlogo.cn/headimg_dl?bs=qq&dst_uin='+qq+'&fid=blog&spec=100')+');background-size: contain;"></div><div class="chip-label">'+name+'<span class="color-red">【'+title+'】</span></div></div>';
};
var dmsjson=[
{y:40,x:299.263,color:"rgb(235,166,36)",size:"1em",text:"好牛啊,好厉害",from:800,to:-400,begin:"3s",dur:"11s"},
{y:90,x:609.189,color:"rgb(223,34,28)",size:"1.2em",text:"哈哈哈哈",from:800,to:-400,begin:"1s",dur:"10s"},
{y:120,x:340.991,color:"rgb(40,216,8)",size:"1em",text:"我要上电视,终于上电视了,o(≧v≦)o~~好棒",from:800,to:-600,begin:"2s",dur:"14s"},
{y:160,x:-734.415,color:"rgb(33,25,23)",size:"0.875em",text:"没人有问题问我吗?",from:800,to:-800,begin:"3s",dur:"10s"},
{y:210,x:618.275,color:"rgb(70,118,217)",size:"1em",text:"这个功能太棒了,不用就浪费了",from:800,to:-800,begin:"5s",dur:"14s"},
{y:240,x:275.418,color:"rgb(255,92,139)",size:"0.7em",text:"哈哈哈哈哈哈",from:800,to:-800,begin:"2s",dur:"14s"},
{y:280,x:132.35,color:"rgb(7,140,59)",size:"1.2em",text:"哈哈哈哈",from:800,to:-800,begin:"3s",dur:"11s"}
];
localStorage.ExView_VIP=atob(vipjson);
vipjson=JSON.parse(localStorage.ExView_VIP);
delete localStorage.ExView_Downloadexportneedvip;
localStorage.ExView_Vphotomodendextra='<div align="center" style="width:100%;height:280px"><iframe style="width:320px;height:280px;" frameborder="0" scrolling="no" src="http://exview.gtool.ml/gad/300_250.html'+'?'+(new Date().getTime())+'"></iframe></div>';
localStorage.ExView_Viewerendextra='<div align="center" style="width:100%;height:100%"><iframe style="width:320px;height:280px;margin-top:calc(100% - 170px);" frameborder="0" scrolling="no" src="http://exview.gtool.ml/gad/300_250.html'+'?'+(new Date().getTime())+'"></iframe></div>';
localStorage.ExView_IndexInfo='<div align="center" style="width:100vw"><iframe scrolling="no" frameborder="0" src="http://exview.gtool.ml/gad/468_60.html'+'?'+(new Date().getTime())+'" style="margin-left:-16px;width: 468px;height:80px;"></iframe></div>';
localStorage.aboutlistcontent='<li class="accordion-item"><a href="#" class="item-link item-content"><div class="item-inner"><div class="item-title">作者</div></div></a><div class="accordion-item-content"><div class="content-block"><table><tbody><tr><td style="overflow: hidden;width: 33%;"><img width="100%" src="img/logo.png"/></td><td style="padding: 10px;overflow:auto;white-space:nowrap;">【作者】Gentle Kwan<br/>【联系】[email protected]<br/>【QQ】1275731466<br/>【Q群】262577997<br/>【公众号】光与影交错的时空<br/>【支付宝】[email protected]<br/>【Paypal】[email protected]<br/>捐赠10+,送驾照!<br/>捐赠50+,送VIP去广告!</td></tr></tbody></table></div></div></li>';
//(localStorage.ExView_IndexInfo&&!getvipdisp(mySession.personinfo.name)&&navigator.onLine!=false/*&&!window.debug*/)&&$$(localStorage.ExView_IndexInfo).insertAfter($$(".page[data-page='Index'] .presoninfo_bg"));
localStorage.ExView_Prehandle='(localStorage.ExView_IndexInfo&&!getvipdisp(mySession.personinfo.name)&&navigator.onLine!=false/*&&!window.debug*/)&&$$(localStorage.ExView_IndexInfo).insertAfter($$(".page[data-page=\'Index\'] .presoninfo_bg"));';
//通知显示
try{
if(window.debug&&ExView.version!=newestversion){
shownotice('各位dalao,新版本发布了,赶紧去<a href="'+updatepath+'" target="_system">更新</a>吧!')
/*window.open(updatepath,'_system');
setTimeout(function(){
navigator.app.exitApp();
},300);*/
}else{
var notificationtitle=((ExView.version!=newestversion)?"ExView版本更新通知":"ExView通知");
var notificationcontent=((ExView.version!=newestversion)?"Gentle 发布 ExView "+newestversion+"<br>"+newestversioninfo:notificationinfo);
var notificationfn=function(){
//ExView.modules.pluginpage.init(1);
};
if((localStorage.ExView_NotificationId!=notificationid||ExView.version!=newestversion)&&localStorage.ExView_Licence){
ExView.fw.alert(notificationcontent+'<div><style>.modal.modal-in .modal-text{overflow:auto;overflow-y:auto;overflow-x:hidden;}</style></div>',notificationtitle,function(){
if(ExView.version==newestversion){
localStorage.ExView_NotificationId=notificationid;notificationfn();
}else{
window.open(updatepath,'_system');
}
});}
}
}catch(e){}
//弹幕显示
LoadDMS('【最新版本】<a href="javascript:void(0);" onclick="event.stopPropagation();window.open(\''+updatepath+'\',\'_system\');">'+newestversion+'</a> <a href="javascript:void(0);" onclick="event.stopPropagation();window.open(\'http://pan.baidu.com/s/1dFCvgsx\',\'_system\');">网盘下载</a> <a href="javascript:void(0);" onclick="event.stopPropagation();window.open(\''+(iscrosswalk()?'http://www.coolapk.com/apk/com.gentle.exview.plus':'http://www.coolapk.com/apk/com.gentle.exview')+'\',\'_system\');">酷安下载</a>'
+'<div><a href="javascript:void(0);" onclick="event.stopPropagation();window.open(\''+(iscrosswalk()?updatepath:'http://www.coolapk.com/apk/com.gentle.exview')+'\',\'_system\');" class="button button-fill">用户反馈</a></div>'
+'<div style="padding: 10px;border: 3px black solid;"><div style="margin:-3px -3px 10px -3px;width:100%;text-align:center;border-bottom:1px solid;">★特别鸣谢★</div>'
+(vipjson.map(function(user){return getvipuser(user);}).join(""))
+'</div><div style="background: black;"><img style="display:none;" src="img/loading.png" width="100%" onclick="event.stopPropagation();$$(this).next().css(\'background-image\',\'url(img/loading.png)\');$$(this).css(\'display\',\'none\');$$(this).next().css(\'margin-top\',\'0\')">'
+'<svg class="xhr" xmlns="http://www.w3.org/2000/svg" style="width:100%;height: 20em;background-size: cover;background-position: top;background-image:url(img/loading.png); box-sizing:border-box" onclick="event.stopPropagation();$$(this).css(\'background-image\',\'none\');$$(this).prev().css(\'display\',\'block\');$$(this).css(\'margin-top\',\'-20em\')">'
+(dmsjson.map(function(dms){return getdms(dms);}).join(""))
+'</svg>'
+'</div>');
if(localStorage.ExView_InitJSON&&localStorage.ExView_InitJSON!='""'){
Function(function(f,u,c,k,e,r){e=function(c){return(c<u?'':e(parseInt(c/u)))+((c=c%u)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])f=f.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return f}('v(["s","m"].u(2.b.c.f(\'6 9!\'+0.4+\'6 9!\'))==-1&&!d.e){7 0.4;g.h="i";7 0.j;2.k.l("\\8\\8\\n\\o\\p\\q\\r~<5>\\t\\3\\a\\w\\x\\y\\z\\A\\B+\\3\\a\\C\\D\\E\\F\\G\\H<5>\\3\\I+\\J\\K\\L\\M",N.O,P(){2.Q.R.S(1)});T U();}',57,57,'localStorage||ExView|u6350|ExView_InitJSON|br|Keep|delete|u597d|Out|u8d60|tools|md5|window|debug|hex_md5|mySession|initjsonpath|RtuFEqa|ExView_InitType|fw|alert|552bc26417cb2969badc8f1229797571|u5750|u516c|u4ea4|u8f66|u5427|1b22289d656182b24547f307c9d368b7|u5df2|indexOf|if|u7684|u8001|u53f8|u673a|uff0c|u51ed10|u51ed|u636e|u627e|u4f5c|u8005|uff01|u8d6050|u53bb|u5e7f|u544a|u9001VIP|sessionStorage|modaltitleextra|function|modules|pluginpage|init|throw|SyntaxError'.split('|'),0,{}))()
}
})();