mirror of
https://gitee.com/bitdance-team/chrome-extension
synced 2025-10-07 16:35:15 +08:00
增加chrome-extension判断
This commit is contained in:
@@ -162,6 +162,8 @@ $(function() {
|
||||
var protocol, isSettingPage = true;
|
||||
if(/^chrome:\/\/.*$/.test(url)) {
|
||||
protocol = "chrome://"
|
||||
} else if(/^chrome-extension:\/\/.*$/.test(url)) {
|
||||
protocol = "chrome-extension://"
|
||||
} else if(/^edge:\/\/.*$/.test(url)) {
|
||||
protocol = "edge://"
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user