Comments (9)
Great, thanks! Just renamed the issue.
from adblocker.
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.
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).
from adblocker.
Any updates with this? Still experiencing on x.com
from adblocker.
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)
- Filter#toString supports alternative modifier names
- Complete automated tests for Filter#toString HOT 2
- support filter list pre-processor rules, eg. ifFirefox HOT 7
- Respect exception rules in `getPatternMetadata` or any TrackerDB matching functions HOT 1
- Wrong Filter List Link HOT 1
- [adblocker-electron] youtube.com not loading HOT 3
- Add support for $removeparam
- `PuppeteerBlocker.fromPrebuiltFull` broken HOT 1
- Improve feedback from getCosmeticsFilters
- Failures on options parsing if a filter has `$` character later than actual options index
- Support `$replace` HOT 1
- King HOT 1
- Feature Request: Add manual entry to list HOT 2
- Support `$document` HOT 1
- built fullLists into the package HOT 6
- Support `#%#`
- Preprocessor documentation
- [Typescript] CommonJS module support HOT 6
- adblocker: the library should respect the scriptlet alias in the exception filter
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adblocker.