yichahucha / surge Goto Github PK
View Code? Open in Web Editor NEWSome useful scripts.
License: GNU General Public License v3.0
Some useful scripts.
License: GNU General Public License v3.0
这两个脚本都会在详情页面卡顿一下,淘宝的时间更长,甚至会卡掉Quan X的VPN,然后经常提示网络崩溃。希望能够修复一下。
Sent from PPHub
Sent from PPHub
如题
微博里还是有广告诶
点按一个视频微博之后进入一种类似抖音的观看视频模式,偶尔会刷出广告内容。
这真的意义非凡,感谢大佬的付出。
请问这个脚本删库了吗
Sent from PPHub
第五步:在 QuanX 订阅 GitHub 生成的文件
这个在哪操作啊,没找到可以订阅的地方
wb_ad.js 会影响微博的第三方APP获得timeline数据
如VVebo 使用后,无法拿到拿到数据
能否将价格对齐显示 能否将59显示成59.0 这样能够对齐 看着舒服 谢谢大佬
QuantumultX上,wb_lunch.js不起作用了;
if (url.indexOf(path2) != -1) {
var obj = JSON.parse(body);
if (obj.cached_ad && obj.cached_ad.ads) obj.cached_ad.ads = [];
body = JSON.stringify(obj);
}
上面匹配成功后,直接返回的是200 OK,没有body了。
查询了Surge的最近请求提示:
04:51:52.498124 Rule evaluating requires DNS lookup for rule: RULE-SET NeteaseMusic.list
04:51:52.555984 Sub-rule matched: DOMAIN-SUFFIX jd.com
04:51:52.556096 Rule matched: RULE-SET China.list
04:51:52.556325 Reuse previous connection: #639
04:51:52.556697 HTTP response script found: https://raw.githubusercontent.com/yichahucha/surge/master/jd_price.js
04:51:52.647912 Script failed, abort.
04:51:52.648295 Disconnect with reason: Closed by remote (Script abort)
rt
同样的设置方法,jd就可以显示历史价格,但是tb不行,是脚本失效了还是我的设置方法不对。
我看README关于QuantumultX中tb的设置有一行小字,即打开淘宝前要先运行脚本,请问,这要怎么操作,我失败的关键难道就在于这句话?
大家是否也失效了呢
症状:由于慢慢买的数据返回较慢,会经常导致 JD 界面卡屏
建议:可否做一个精简版,不再显示在商品界面,而是异步请求数据,通过 push 通知的方式只弹出历史最低价格
谢谢
如题
首先感谢开发者。
反馈:被关注的人点赞然后推荐出来的广告还没有去除。目前大量劫持的情况下,这类推荐也属于广告。
尝试去掉所有规则无效
老哥,关于钉钉签到脚本想求解几个问题
1、如果我选择提醒其他软件的话,是否只是替换掉第十三行钉钉的网页链接就行呢?
2、还选择check in/out 是根据系统时间还是根据脚本执行链接呢?
大佬,历史价格的查询界面能适配支持黑暗模式么,淘宝tf已经黑暗模式了
Sent from PPHub
京东今天app升级了一下,查价格貌似不好用了
开启调试模式 能够正常显示比价
关掉调试模式后 比价不显示.
查询日志 发现 开启调试模式后 访问 会正常出现 client.action?functionId=wareBusiness 并成功被重写
但是关闭调试模式后 查询日志 只会出现 client.action? 然后就没有了 反复开关客户端 和QC 偶尔能遇到一次 client.action?functionId=wareBusiness
求JD price history 支持 QuanX
Thanks
之前qx远程订阅那个文件还是很方便的
能否把历史价格放在二级菜单里面?比如评价里面,或者其他二级菜单里面(二级菜单,就是打开淘宝链接,不直接加载,而是通过一个菜单去加载)。
现在的情况是每次打开链接都卡一下,如果放在二级菜单里面,体验效果明显改善。
Hope you adapt "Display Netflix TV series and movie's IMDb ratings, Douban ratings, rotten tomato and country/region" script to QuantumultX.
空白
Sent from PPHub
加了api.weibo.cn这个域名后 微博刷新不出来数据 去掉之后就好了 但是广告也出来了
Sent from PPHub
function is_timeline_ad(mblog) {
if (!mblog) return false;
let type = mblog.type && mblog.type == "ad";
let mblogtype = mblog.mblogtype && mblog.mblogtype == 1;
let label = mblog.label && mblog.label == "\u5e7f\u544a";
return (type || mblogtype || label) ? true : false;
}
不敢再提PR了😂
Quantumultx依据readme配置完成后,无法出现“服务—历史价格”
配置不变,卸载重装淘宝app后,成功。
20min之后重新测试,依旧失败
Hi,如题
建议添加正则匹配
https://api.weibo.cn/2/statuses/video_timeline
建议修改
const path15 = "/statuses/video_timeline";
if (
url.indexOf(path1) != -1 ||
url.indexOf(path2) != -1 ||
url.indexOf(path10) != -1 ||
url.indexOf(path15) != -1
) {
let obj = JSON.parse(body);
function filter_timeline_statuses(statuses) {
if (statuses && statuses.length > 0) {
let i = statuses.length;
while (i--) {
let element = statuses[i];
if (is_timeline_likerecommend(element.title)) statuses.splice(i, 1);
/*if (is_timeline_ad(element.promotion)) statuses.splice(i, 1);
*/
if (is_timeline_ad(element.mblogtype)) statuses.splice(i, 1);
}
}
return statuses;
}
function is_timeline_ad(mblogtype) {
return mblogtype && mblogtype && mblogtype == 1 ? true : false;
}
/*
function is_timeline_ad(promotion) {
return promotion && promotion.type && promotion.type == "ad" ? true : false;
}
*/
^https?:\/\/api\.m\.jd.com\/client\.action\?functionId=start
var obj = JSON.parse($response.body)
delete obj.images
$done({body: JSON.stringify(obj)})
QuantumultX 有开屏广告
https://apapia-history.manmanbuy.com/ChromeWidgetServices/WidgetServices.ashx 经常会出现崩溃的问题,特别是今晚。所以希望可以加入超时的设定,不然会一直卡在加载界面进不去
Sent from PPHub
优化
http-response ^https?://(api|mapi).weibo.(cn|com)/2/((groups|statuses/friends|fangle)/timeline|(profile/)?statuses(/unread|extend|/positives/get)?|comments/build_comments|photo/recommend_list|stories/(video_stream|home_list)|service/picfeed) requires-body=1,max-size=-1,script-path=省略
内容添加
const path12 = "/fangle/timeline";
if (url.indexOf(path12) != -1) {
filter_timeline();
}
配置无效,配置文件必须以[Section]形式开始。
请问是我导入的方式不对吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.