Giter Club home page Giter Club logo

Comments (9)

spikecodes avatar spikecodes commented on August 20, 2024 1

Great, thanks! Just renamed the issue.

from adblocker.

remusao avatar remusao commented on August 20, 2024

Hey, did you try creating the browser window using the settings shown in the example here? https://github.com/ghostery/adblocker/blob/master/packages/adblocker-electron-example/index.ts#L20

I know there are some isolation settings which can prevent the adblocker from working properly in Electron.

from adblocker.

spikecodes avatar spikecodes commented on August 20, 2024

Thanks for the quick response. Even with those settings, x.com and reddit.com don't load with fromPrebuiltFull (although they used to a couple months ago).
image

from adblocker.

spikecodes avatar spikecodes commented on August 20, 2024

Any updates with this? Still experiencing on x.com

from adblocker.

seia-soto avatar seia-soto commented on August 20, 2024

Hi @spikecodes ,

Thanks for reporting the problem. I was able to find the problem by referencing your repository. I'm really appreciate of it. I also found that the root cause of the problem is coming from the CSP conflict on the website. Therefore, fixing the issue will introduce a huge change in the internal apis since there's no way to bypass CSP in the main world.

We'll try to fix the issue but our team is facing some issues important for our product at the moment. At the time, I suggest you to update the issue title to: adblocker-electron fails to inject scriptlet due to CSP issue.

Sorry for the inconvenient and thank you again for your contribution. I hope you have a wonderful upcoming week. I'll look into this.

from adblocker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.