🐛 Zhihu jump optimization
This commit is contained in:
2
src-tauri/src/inject/event.js
vendored
2
src-tauri/src/inject/event.js
vendored
@@ -59,7 +59,7 @@ function externalTargetLink() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function externalSelfLink() {
|
function externalSelfLink() {
|
||||||
return ['twitter.com'].indexOf(location.hostname) > -1;
|
return ['twitter.com', 'www.zhihu.com'].indexOf(location.hostname) > -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user