Feature Request: Integration of SafariConverterLib for Enhanced Content Blocking in Orion Browser
What does your feature entail?
The proposed feature entails integrating the SafariConverterLib from AdGuard into the Orion browser. This library is designed to convert rules to the Content Blocking API and enabling the usage of scriptlets and extended CSS. Currently, Orion uses its own built-in converter, which is limited and primitive. By adopting SafariConverterLib, Orion can significantly enhance its content blocking capabilities, providing users with more robust and flexible ad-blocking and privacy protection features.
What is it for?
The primary purpose of this feature is to improve the effectiveness and flexibility of content blocking in the Orion browser. By leveraging SafariConverterLib, Orion can support a wider range of blocking rules, including advanced scriptlets and extended CSS, which are not currently supported by the built-in converter. This will allow users to block more types of unwanted content, such as ads, trackers, and other privacy-invading elements, thereby enhancing their browsing experience and privacy.
How will it affect existing workflows or user experience?
Integrating SafariConverterLib will have a positive impact on the user experience by providing more comprehensive and effective content blocking. Users will notice a reduction in ads, trackers, and other unwanted content, leading to faster page load times and improved privacy. The feature will not disrupt existing workflows but will enhance them by offering more powerful and flexible content blocking options.
What are the exact ways that you see a user using your proposed feature?
Enhanced Ad-Blocking:
- Users will be able to block a wider range of ads, including those that use advanced techniques to bypass traditional ad-blockers.
- Example: A user visits a website with intrusive ads that the current converter cannot block. With SafariConverterLib, these ads are effectively blocked, providing a cleaner and faster browsing experience.
Improved Privacy Protection:
- Users will benefit from better protection against trackers and other privacy-invading elements.
- Example: A user is concerned about being tracked across different websites. With the enhanced content blocking, trackers are blocked more effectively, reducing the risk of privacy breaches.
Custom Rule Support:
- Users can create and use custom blocking rules that utilise scriptlets and extended CSS.
- Example: A user wants to block a specific type of content that is not covered by existing filters. With SafariConverterLib, they can create a custom rule using extended CSS or scriptlets to block this content (YouTube ads).
Seamless Integration with Existing Filters:
- The feature will work seamlessly with existing filter lists, enhancing their effectiveness.
- Example: A user subscribes to a popular ad-blocking filter list. With SafariConverterLib, the filter list becomes more effective, blocking more types of unwanted content.
How would it work into the existing feature to extend its usefulness?
The integration of SafariConverterLib will extend the usefulness of the existing content blocking feature in Orion by providing a more powerful and flexible rule conversion engine. The current built-in converter will be replaced or augmented by SafariConverterLib, allowing Orion to support a wider range of blocking rules. This will result in more effective ad-blocking and privacy protection, enhancing the overall usefulness of the content blocking feature.
Examples from Other Browsers/Apps:
- AdGuard for Safari: AdGuard uses SafariConverterLib to convert rules to the Content Blocking API, enabling advanced ad-blocking and privacy protection features. This has been well-received by users for its effectiveness and flexibility.
- WebShield & wBlock: These extensions written by me and @0xCUBE respectively provide level of advanced content blocking by supporting scriptlets and extended CSS that is desirable for Orion.
By integrating SafariConverterLib, Orion can offer a similar level of advanced content blocking, making it a more attractive option for users who prioritize ad-blocking and privacy protection.