mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-13 09:40:34 +08:00
Whitelist gitbook.io in phishing
This commit is contained in:
parent
482b41664a
commit
d0daab2c20
@ -93,7 +93,7 @@ const BLACK_TLD = new Set([
|
|||||||
'design'
|
'design'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
export const WHITELIST_MAIN_DOMAINS = new Set([
|
const WHITELIST_MAIN_DOMAINS = new Set([
|
||||||
'w3s.link', // ipfs gateway
|
'w3s.link', // ipfs gateway
|
||||||
'dweb.link', // ipfs gateway
|
'dweb.link', // ipfs gateway
|
||||||
'nftstorage.link', // ipfs gateway
|
'nftstorage.link', // ipfs gateway
|
||||||
@ -101,7 +101,8 @@ export const WHITELIST_MAIN_DOMAINS = new Set([
|
|||||||
'business.site', // Drag'n'Drop site building platform
|
'business.site', // Drag'n'Drop site building platform
|
||||||
'page.link', // Firebase URL Shortener
|
'page.link', // Firebase URL Shortener
|
||||||
'notion.site',
|
'notion.site',
|
||||||
'vercel.app'
|
'vercel.app',
|
||||||
|
'gitbook.io'
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const sensitiveKeywords = createKeywordFilter([
|
const sensitiveKeywords = createKeywordFilter([
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user