折腾啥 头像

消息来源频道

折腾啥

@zhetengsha

频道40,410 位成员公开可见0 人在线

Power Users/Automators 折腾/讨论/分享各种开源工具/脚本/自动化工作流 👥 群组 @zhetengsha_group 📌 资源合集导航 https://t.me/zhetengsha/2 🎁 恰饭推荐 https://t.me/zhetengsha/957 📢 广告投放 @xream Buy ads: https://telega.io/c/zhetengsha feedId:55438372655431680+userId:62307599601855488

成员规模40,410 位成员
在线情况0 人在线
消息总数4,340 条消息
浏览量总数7,753,402 次浏览

在这个频道里搜索消息……

t.me/zhetengsha

#Stash #覆写 执行远程脚本
⚠️ 请勿执行有风险的脚本 不点击面板时也可能会执行!
三种设置方式:
1. 脚本编辑器/BoxJs 执行 $persistentStore.write('http://1.js', 'execute-remote-script-url'); $done({title:'已设置'})
2. 自定义覆写参数 argument:icon=arrowtriangle.right.circle&color=#663399&url=http://1.js
3. Node.js 环境变量 XREAM_EXECUTE_REMOTE_SCRIPT_URL=http://1.js
两种执行方式:
1. 面板 (Tile)
2. 访问 execute-remote-script.com
🔗 覆写地址
傻瓜教程:
先装这个覆写 https://raw.githubusercontent.com/xream/scripts/main/surge/modules/execute-remote-script/execute-remote-script.rewrite.stash.stoverride
然后 脚本编辑器/BoxJs 里执行
$persistentStore.write('http://1.js', 'execute-remote-script-url'); $done({title:'已设置'})
然后
点击面板 (Tile)
或 访问 execute-remote-script.com 时
都会执行 http://1.js
🚀 高级用法
可以在远程脚本里返回设定的数据结构来覆盖本脚本的返回值:
$done({
exec1ute_remote_script: {
title: '面板/通知标题',
content: '面板/通知内容',
icon: 'arrow.clockwise.icloud',
subt: '通知副标题',
opts: { url: 'http://通知跳转.com' },
},
})
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组