mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix links cannot open (#3191)
This commit is contained in:
parent
0481df44dc
commit
9e93313b6c
@ -1,4 +1,4 @@
|
||||
[data-module="desc"],
|
||||
[data-module="desc"][data-orig],
|
||||
.card[data-did] .content {
|
||||
cursor: text;
|
||||
.details {
|
||||
@ -13,3 +13,8 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.bili-rich-text-module {
|
||||
&.at {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
@ -27,6 +27,14 @@ const entry = async () => {
|
||||
if (target.hasAttribute('click-title')) {
|
||||
return
|
||||
}
|
||||
console.log({ target })
|
||||
if ([
|
||||
'bili-rich-text-topic',
|
||||
'bili-rich-text-module',
|
||||
'bili-rich-text-link',
|
||||
].some(className => target.classList.contains(className))) {
|
||||
return
|
||||
}
|
||||
const popups = dqa(element, '.im-popup')
|
||||
if (popups.some(p => p.contains(target))) {
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user