更新内容
1、内置浏览器下载功能兼容123网盘
2、修复云小程序虚拟主机无法进入的问题
更新地址:https://www.yuqiee.com/245.html
老用户更新
老用户可直接根据下方代码进行新增代码即可修复!
1、浏览器.iyu的浏览器控件的文件下载事件里面的代码全部替换:
t()
{
s a="\n"
ss(st_url+a+st_cN+a+st_cH,ts)
//syso(ts)
//syso(st_url)
s url = st_url
//保存至目录
s dir = sss.安卓路径
sj(st_cN,"filename=",null,name)
sr(name,"\"","",name)
sutf8to(name,nam)
f(st_url?"base64")
{
sj(st_url,"base64,",null,base64)
sj(st_url,"data:image/",";",kzm)
loadjar("NightSky.dex",dex)
cls(dex,"com.nightsky.NightSkyUtil",c)
javax(tu,null,c,"StringtoBitmap","String",base64)
sran(111111111,999999999,nam)
ss(nam+"."+kzm,nam)
bfs(tu,sss.安卓路径+nam)
ufnsui()
{
tw("文件已保存至"+sss.安卓路径+nam)
}
endcode
}
f(nam==null||nam==""||nam==" "||nam=="null")
{
sutf8to(st_url,nam)
slof(nam,"/",zf)
s+(1,zf)
ssg(nam,zf,nam)
ss("未知文件名"+nam,nam)
}
else f(nam?"filename*=UTF-8")
{
sj(nam,null,";filename*=UTF-8",nam)
syso(nam)
}
else f(nam?"filename*=utf-8")
{
sj(nam,"filename*=utf-8",null,nam)
sr(nam,"\"","",nam)
syso(nam)
}
//syso(nam)
ss(sss.安卓路径+nam,wjcz)
// sran(11111,99999,sjs)
s2(st_cH/1024/1024,mb)
ss("文件名:"+nam+a+"文件大小:"+mb+"MB\n"+a+"链接:"+st_url+a+"\n保存路径:"+wjcz,ts)
ufnsui()
{
utw(null,"发现文件",ts,"本地下载","取消","其他浏览器下载",true,v)
{
//下载任务的标题
s title = nam
//下载任务的图标
s icon = "@5bcb23a2ca7708fb1ee4c0f8b4a475b5.png"
//是否显示下载进度通知
s notsohw = true
//输入自定义参数任意数据
//ss(sjs+nam,data)
s data = nam
//变量v为赋值变量,为下载对象
hdda(st_url, dir, nam, title, icon, notsohw, data, v)
hdduigo()
}
else
{
endutw()
}
else
{
hws(st_url)
}
}
}
2、直接将旧版本的【yunzj_index.iyu】替换掉就行了。
请登录后查看回复内容