Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 支持识别 Google Drive #52

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion panai.user.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// ==UserScript==
// @name 网盘智能识别助手
// @namespace https://github.com/syhyz1990/panAI
// @version 2.0.2
// @version 2.0.4
// @author YouXiaoHou,52fisher
// @description 智能识别选中文字中的🔗网盘链接和🔑提取码,识别成功打开网盘链接并自动填写提取码,省去手动复制提取码在输入的烦恼。支持识别 ✅百度网盘 ✅阿里云盘 ✅腾讯微云 ✅蓝奏云 ✅天翼云盘 ✅移动云盘 ✅迅雷云盘 ✅123云盘 ✅360云盘 ✅115网盘 ✅奶牛快传 ✅城通网盘 ✅夸克网盘 ✅FlowUs息流 ✅Chrome 扩展商店 ✅Edge 扩展商店 ✅Firefox 扩展商店 ✅Windows 应用商店。
// @license AGPL-3.0-or-later
Expand Down Expand Up @@ -327,6 +327,11 @@
host: /www\.feiyunfile\.com/,
name: '飞云网盘',
},
'google': {
reg: /(?:https?:\/\/)?drive\.google\.com\/file\/d\/\w+/,
host: /drive\.google\.com/,
name: 'Google云端硬盘',
},
'yifile': {
reg: /(?:https?:\/\/)?www\.yifile\.com\/f\/\w+/,
host: /www\.yifile\.com/,
Expand Down