Skip to content

Commit faa38d5

Browse files
authored
Merge pull request #197 from MTianX/main
Create ShortX-检测剪贴板有m3u8链接转跳mxplay播放.txt
2 parents 6b8e71c + 4a68b8a commit faa38d5

1 file changed

Lines changed: 38 additions & 0 deletions

File tree

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"facts": [{
3+
"@type": "type.googleapis.com/ClipboardContentChanged",
4+
"content": "(?i)^https?://.*\\.m3u8",
5+
"matchOptions": "RegexMatchOptions_ContainsMatchIn",
6+
"customContextDataKey": {
7+
},
8+
"note": "剪贴板匹配是否含有m3u8的链接,配合油猴m3u8链接检测脚本使用",
9+
"id": "F-58b9f2a0-c32c-45b6-9405-66e1d3e5e906"
10+
}],
11+
"actions": [{
12+
"@type": "type.googleapis.com/StartActivityIntent",
13+
"intent": {
14+
"action": "android.intent.action.VIEW",
15+
"pkgName": "com.mxtech.videoplayer.ad",
16+
"data": "{clipboardContent}"
17+
},
18+
"customContextDataKey": {
19+
},
20+
"note": "将剪贴板内容复制到data,发送intent 到mxplay,需要别的视频播放器就改下包名",
21+
"id": "A-b2967206-6620-4d5c-96a0-6177a3b31f2d"
22+
}],
23+
"id": "SHARE-rule-92a3839f-0200-4527-a462-00e256b64587",
24+
"lastUpdateTime": "1770368217300",
25+
"createTime": "1770365745854",
26+
"author": {
27+
"name": "ShortX"
28+
},
29+
"title": "检测剪贴板有m3u8链接转跳mxplay播放",
30+
"isEnabled": true,
31+
"hook": {
32+
},
33+
"quit": {
34+
},
35+
"versionCode": "1"
36+
}
37+
###------###
38+
{"type":"rule"}

0 commit comments

Comments
 (0)