主页改崩了,纯萌新,求救

求助
获赞:1    评论:5    查看:1027

海阔视界规则分享,当前分享的是:首页频道¥home_rule¥{"firstHeader":"class","title":"首页","author":"@LoyDgIk","url":"hiker://home# 简约而不简单","version":7,"col_type":"text_3","class_name":"","class_url":"","area_name":"","area_url":"","sort_name":"","year_name":"","sort_url":"","year_url":"","find_rule":"js:\nlet Config = {};\n/------自定义区------/\n\n\nif(fetch('hiker://files / 首页设置 ',{})=='')writeFile('hiker://files / 首页设置','3');\n\n\nConfig.tool = Number(fetch('hiker://files / 首页设置 ',{})); //1 一言; 2 网抑; 3 天气; 4 关闭; 0 时间 \nConfig.detailed = 1; // 详细 \nConfig.homepage = 1; // 首页图 \nConfig.avatarSign = 1; // 头像签名 \n\nlet detailWrap = 1; // 详细是否换行 \nlet avatarIndex = 0; // 头像位置 \n\n/----首页图----/\nConfig.wallpaperurl =\n'https://anyaapi.52msr.cn / 少女映画. php';n// 自定义随机图,可为固定图片链接 nnConfig.randomPic = 1;\n// 图片随机刷新, 注意该功能极其耗缓存, 关闭后可清除缓存刷新图片。建议固定图片时关闭此选项 \n\nConfig.userqriginalpictureurl =Config.wallpaperurl;\n// 自定义跳转链接, 默认随机图链接 \n\nConfig.avatarPic = 'file:///storage/emulated/0/Android/data/com.example.hikerview/files/png/ylwh.png';// 设置头像 \nConfig.signature = '葉落人未知';\n// 签名设置。\n\n\n\n\n/----类型选择----/\nConfig.hitokototype = ''; // 一言类型 \n/类型详细:https://s1.ax1x.com/2020/05/03/JzYHcd.jpg/\n\nConfig.musicClass = '热歌榜';\n// 分类 [热歌榜 | 新歌榜 | 飙升榜 | 抖音榜 | 电音榜]\n\n\nConfig.weathercustomisation = '';\n// 自定义天气地区, 不填为现在所在地 \n\n\n\n\n\n/----列表. 自定义. 进阶----/\n/---列表属性---/\nlet cardArr = [];\ncardArr.push({\n id: 0,\n title:'*',\n url:'',\n titleStyle:'text_center_1',\n list:'List.shortcut_list',\n openClose: true,\n Styles: [{\n style:'icon_small_4',\n numEnd:4\n},\n {\n style:'icon_2',\n numEnd:10\n}]\n})\n\ncardArr.push({\n id: 1,\n title:'❇常用首页规则❇',\n url:'toast:// 常用首页规则 ',\n titleStyle:'text_center_1',\n list:'List.lists_1',\n openClose: true,\n Styles: [{\n style:'icon_round_small_4',\n numEnd: 4\n},{\n style:'icon_4',\n numEnd: 99\n}]\n})\n\ncardArr.push({\n id: 2,\n title:'⚙️常用软件工具⚙️',\n url:'toast:// 常用软件工具 ',\n titleStyle:'text_center_1',\n list:'List.lists_2',\n openClose: true,\n Styles: [{\n style:'icon_4',\n numEnd: 99\n}]\n})\n\n// 书签列表 \nConfig.bookmarkStyle = 'text_3';\n\n// 标题样式 \nConfig.functionStyle = 'text_center_1';\n\n\n\n\n/----列表----/\nlet List = {};\nList.shortcut_list=[\n' 收藏 @@hiker://collection@@https://i.loli.net/2020/11/19/peV6y9Kj8RqocEz.png',n ' 书签 @@hiker://bookmark@@https://i.loli.net/2020/11/19/fVYX6GQE7T3r5Wu.png',n ' 历史 @@hiker://history@@https://i.loli.net/2020/11/19/RkZXUpaBT9u2ViF.png',n ' 插件 @@hiker://js@@https://i.loli.net/2020/11/19/DCL9V4BghFqIznY.png',nnList.lists_1 =[\n' 优质影视 @@hiker://home@开天斧 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png/ktf.png',\n' 海阔论坛 @@hiker://home@视界论坛 R@@https://i.loli.net/2020/11/20/KH7f1xDoralYZOh.png',n ' 豆瓣论坛 @@hiker://home@豆瓣新版 R@@https://i.loli.net/2020/11/19/7a9XlgNMEkU65ns.png',n '影视名站 @@hiker://home@爱优腾 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png/ayt.png',\n '影视首页 @@hiker://home@影视首页 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png / 影视. png', \n '美图首页 @@hiker://home@美图首页 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png / 图片. png', \n '音乐首页 @@hiker://home@音乐首页 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png / 音乐. png',\n '直播首页 @@hiker://home@直播首页 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png / 电视. png',\n '热点一览 @@hiker://home@今日热榜 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png / 热点. png',\n '影视森林 @@hiker://home@影视森林 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png / 林业. png',\n '精选好站 @@hiker://home@精选好站 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png / 书签. png',\n '工具一览 @@hiker://home@工具台 @@file:///storage/emulated/0/Android/data/com.example.hikerview/files/png / 工具. png'\n \n];\n\nList.lists_2 =[\n//' 海阔社区 @@http://haikuoshijie.cn/@@https://i.loli.net/2020/11/20/KH7f1xDoralYZOh.png',n' 元素拦截 @@hiker://adRule@@https://i.loli.net/2020/11/19/efIYdH73BphZq9D.png',n' 网址拦截 @@hiker://adUrl@@https://i.loli.net/2020/11/19/Rqy4QZxELUXpPmD.png',n' 常用设置 @@hiker://setting@@https://i.loli.net/2020/11/19/j7XY93Msbn5ShNV.png',n' 其它设置 @@hiker://settingMore@@https://i.loli.net/2020/11/19/tZqUjRwgpNKXyOh.png'n];nnnnnn/*------自定义区 end------*/nnnnnlet d = [];\n\n\n\ncardArr.sort((attribute => (a,b) =>\na[attribute] - b[attribute])('id'));\nfor (let i = 0; i < cardArr.length; i++) {\n if (!cardArr[i].openClose)\n continue;\n if (cardArr[i].title != undefined && cardArr[i].title !== '') {\n d.push({\n title: cardArr[i].title,\n url: cardArr[i].url,\n col_type: cardArr[i].titleStyle\n })\n }\n let team = eval(cardArr[i].list);\n for (let j = 0; j < team.length; j++) {\n let k = team[j].split(/\s@@\s*/);\n if (k.length < 2)\n continue;\n let tmp = false;\n \n for (let h = 0; h < cardArr[i].Styles.length; h++) {\n let flag = h ? cardArr[i].Styles[h - 1].numEnd: 0;\n if (j>= flag && j https://v1.hitokoto.cn/?c=' + Config.hitokototype, {}));\n let source = json.from_who;\n if (source == null || source =='null')\n source =' 佚名 ';\n title = json.hitokoto;\n desc =' 出处:\t《'+ json.from +'》\n 作者:\t'+ source;\n break;\n case 2:\n try{ json = JSON.parse(fetch('https://api.uomg.com/api/rand.music?sort=' + Config.musicClass + '&format=json', {}));\n title = json.data.name;\n desc = '歌手:' + json.data.artistsname;\n url = json.data.url + '.mp3&memoryPosition=full';\n break;}catch(e){title=' 未获取到歌曲信息!';}\n case 3:\n try{json = JSON.parse(fetch('https://v1.alapi.cn/api/weather/now?location='+Config.weathercustomisation, {}));\n desc= '位置:' + json.data.basic.location + '\n 更新:' + json.data.update.loc;\n title= '温度:' + json.data.now.tmp + '℃\t 体感:' + json.data.now.fl + '℃\t 风力:' + json.data.now.wind_sc + '级 \t 湿度:' + json.data.now.hum + '%\n 天气:'+json.data.now.cond_txt + '\t\t 风向:' +json.data.now.wind_dir +'\t\t 降水:' + json.data.now.pcpn + 'mm';\nwriteFile('hiker://files / 首页天气','desc=\"'+desc.replace('\n','\\n')+'\";title=\"'+title.replace('\n','\\n')+'\";');\n break;}catch(e){eval(fetch('hiker://files / 首页天气 ',{}));}\n \n }\n let toolbox = {};\n toolbox.title = title;\n toolbox.url = Config.homepage ? url:'toast://'+title;\n toolbox.desc = desc;\n toolbox.pic_url = Config.randomPic ? Config.wallpaperurl +'#.jpg'+ timestamp: Config.wallpaperurl +'#.jpg';\n toolbox.col_type = Config.functionStyle;\n if (Config.homepage) \n toolbox.col_type = 'pic_1';\n if (!Config.detailed)\n delete toolbox.desc;\n d.unshift(toolbox);\n } catch(e) {}\n}\n\n\n\n// 个人头像 \nif(Config.avatarSign){\n d.splice(avatarIndex,0,{\n title: Config.signature,\n url:'hiker://empty#'+Config.tool+@lazyRule=.js:var mode=new Array('切换至时间','切换至一言','切换至网易云音乐','切换至天气','已关闭显示');input=input.split('#')[1];input++;input=input>4?0:input;writeFile('hiker://files/首页设置',input.toString());refreshPage();'toast://'+mode[input];,\n pic_url: Config.avatarPic,\n col_type: 'avatar'\n });\n}\n\n\nsetHomeResult({data:d.concat.apply([],d)});","search_url":"https://m.baidu.com/s?word=**","titleColor":"#ffff7000","group":"Q 首页 ","searchFind":"","detail_col_type":"text_1","detail_find_rule":"","sdetail_col_type":"movie_1","sdetail_find_rule":"","ua":"auto","preRule":"/*n 注释:n 如何添加一个新的卡片?n:把什么上面↑的 cardArr.push({...}) 复制粘贴一个新; 把下面↓的数组再按已有的格式创建一个。n 列表数值:nid:序号,小的排前 ntitle:标题 nurl:点击标题跳转链接 ntitleStyle:标题样式 nlist:数组变量名称 nopenClose:列表开关, true 显示 / false 不显示. nnStyles:数组样式 (可设置多个样式)n 如:n[{n style: 'text_4',// 样式 \n numEnd: 4// 索引 \n },\n {\n style:'icon_2',\n numEnd: 99\n}]\n*/\n"}

可奈何
回复(5)
  • 子丑寅卯 回复

    呃那就不知道

  • SSBY333 回复
    子丑寅卯 2021-01-19 11:36:31

    或者删除,或者改名,你会发现小棉袄的我的主页又回来了

    这个是改自 LoyDgIk 的首页

  • 子丑寅卯 回复

    或者删除,或者改名,你会发现小棉袄的我的主页又回来了

  • 曾经搞基把我的小米手机整成只能拍人的砖头了 而且不止一次 从那以后我学会了随遇而安

  • 淡了过往 回复

    论坛分享了那么多主页,随便导入一个照着对比就行了

发表话题
  • 积分
    0
  • 注册排名
    4293