cainiaoblog 23.3.530 → 23.3.532

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/package.json +1 -1
  2. package/tools.js +53 -0
  3. package/tools.json +0 -1
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"cainiaoblog","version":"23.3.530","description":"一个可以供zyplayer使用的公共配置文件","main":"index.js","directories":{"lib":"lib"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/npljy/npljy.github.io.git"},"keywords":["common","configs"],"author":"cainiao","license":"ISC","bugs":{"url":"https://github.com/npljy/npljy.github.io/issues"},"homepage":"https://github.com/npljy/npljy.github.io#readme"}
1
+ {"name":"cainiaoblog","version":"23.3.532","description":"一个可以供zyplayer使用的公共配置文件","main":"index.js","directories":{"lib":"lib"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"publishConfig":{"registry":"https://registry.npmjs.org"},"repository":{"type":"git","url":"git+https://github.com/npljy/npljy.github.io.git"},"keywords":["common","configs"],"author":"cainiao","license":"ISC","bugs":{"url":"https://github.com/npljy/npljy.github.io/issues"},"homepage":"https://github.com/npljy/npljy.github.io#readme"}
package/tools.js ADDED
@@ -0,0 +1,53 @@
1
+ (function () {
2
+
3
+
4
+ // 直接内嵌工具数据(避免跨域)
5
+ const tools = [
6
+ {
7
+ icon: '📺',
8
+ "name": "CMS资源播放器",
9
+ "url": "https://kkplayer.xuehuayu.cn"
10
+ },
11
+ {
12
+ icon: '🧩',
13
+ "name": "CMS资源浏览器扩展",
14
+ "url": "https://chromewebstore.google.com/search/KK%20Player?hl=zh-CN"
15
+ },
16
+ {
17
+ icon: '🎬',
18
+ "name": "M3U8播放器",
19
+ "url": "https://m3u8.xuehuayu.cn"
20
+ },
21
+ {
22
+ icon: '💻',
23
+ "name": "Chrome命令工具",
24
+ "url": "https://chrome.xuehuayu.cn"
25
+ },
26
+ // {
27
+ // icon: '🔗',
28
+ // "name": "短网址",
29
+ // "url": "https://dwz.xuehuayu.cn"
30
+ // },
31
+ {
32
+ icon: '⚡',
33
+ "name": "免费游戏加速器",
34
+ "url": "https://boost.xuehuayu.cn"
35
+ },
36
+ {
37
+ icon: '📣',
38
+ "name": "正规流量卡-不乱发货-[广告]",
39
+ "url": "https://h5.lot-ml.com/ProductEn/Index/1be1066f15176ef6"
40
+ }
41
+
42
+ ];
43
+
44
+ document.addEventListener('DOMContentLoaded', function () {
45
+ if (window.jsonpCallback && typeof window.jsonpCallback === 'function') {
46
+ window.jsonpCallback(tools);
47
+ }
48
+
49
+ })
50
+
51
+
52
+
53
+ })()
package/tools.json DELETED
@@ -1 +0,0 @@
1
- [{"name":"CMS播放器","url":"https://kkplayer.xuehuayu.cn"},{"name":"CMS浏览器扩展","url":"https://chromewebstore.google.com/search/KK%20Player?hl=zh-CN&utm_source=https://chrome.xuehuayu.cn"},{"name":"M3U8播放器","url":"https://m3u8.xuehuayu.cn"},{"name":"Chrome命令工具","url":"https://chrome.xuehuayu.cn"}]