mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix iframe background
This commit is contained in:
parent
53acbbea18
commit
a14031bff8
2
min/gui-settings.min.js
vendored
2
min/gui-settings.min.js
vendored
File diff suppressed because one or more lines are too long
@ -201,7 +201,10 @@ function setDisplayNames () {
|
||||
document.querySelector('.gui-settings-icon-panel').style.display = 'none'
|
||||
// return;
|
||||
}
|
||||
document.documentElement.classList.toggle('iframe', isIframe)
|
||||
const transparentFrames = [
|
||||
'https://t.bilibili.com/share/card/index'
|
||||
]
|
||||
document.documentElement.classList.toggle('iframe', isIframe && transparentFrames.some(f => document.URL.includes(f)))
|
||||
|
||||
addSettingsListener('guiSettingsDockSide', value => {
|
||||
document.body.classList.toggle('gui-settings-dock-right', value === '右侧')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user