mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
chore: remove useless code
This commit is contained in:
@@ -116,23 +116,8 @@ async function setupStyles() {
|
||||
document.documentElement.classList.add('forceDark')
|
||||
await import('./creativeCenterPage.scss')
|
||||
document.documentElement.classList.add('creativeCenterPage')
|
||||
// runWhenIdle(() => {
|
||||
// delay(5000)
|
||||
|
||||
// // Get all div elements on the page
|
||||
// const divs = document.querySelectorAll('div')
|
||||
|
||||
// // Iterate over each div element
|
||||
// divs.forEach((div) => {
|
||||
// // Get the computed style of the div
|
||||
// const style = window.getComputedStyle(div)
|
||||
// // Check if the background-image property is not 'none'
|
||||
// if (style.backgroundImage !== 'none') {
|
||||
// div.style.filter = 'var(--bew-filter-force-dark)'
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
}
|
||||
|
||||
// account settings page
|
||||
else if (/^https?:\/\/account\.bilibili\.com\/.*$/.test(currentUrl)) {
|
||||
await import('./accountSettingsPage.scss')
|
||||
|
||||
Reference in New Issue
Block a user