Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preview overlay removal in edge FIX within #64

Open
lol98lol98x opened this issue Jan 19, 2024 · 4 comments
Open

preview overlay removal in edge FIX within #64

lol98lol98x opened this issue Jan 19, 2024 · 4 comments

Comments

@lol98lol98x
Copy link

lol98lol98x commented Jan 19, 2024

on edge I had to add the following code to remove the "this is a preview" overlay
I added it to the remove-banner.js after it gets the document-wrapper element handle


var elementToRemove = document.querySelector('#document-wrapper > div:nth-child(2) > div._95f5f1767857._0838fb325c04');
    if (elementToRemove) {
        elementToRemove.parentNode.removeChild(elementToRemove);
    }

@lol98lol98x lol98lol98x changed the title preview overlay preview overlay removal in edge Jan 19, 2024
@lol98lol98x lol98lol98x changed the title preview overlay removal in edge preview overlay removal in edge FIX within Jan 19, 2024
@lol98lol98x
Copy link
Author

remove-banner.zip

@LorisTecnology
Copy link

how to use that in ublock?

@PheelPhil
Copy link

Is there any possible solution for chrome'

@danieltyukov
Copy link

https://github.com/danieltyukov/studocuhack
checkout the most latest version of a better extension to solve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants