Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up[Firefox] Move script tag filtering data into content process side #2014
Comments
|
URL used in test above: https://en.wikipedia.org/wiki/List_of_country_calling_codes. |
|
Code change is to query for script tag filters if and only if there are script tag filters for the current site. For doing so, the content script module only needs a dictionary of hostnames for which there are script tag filters. As a result, for most visited web sites, there won't be a synchronous message. Following code change, using the same benchmarked page: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

This will allow uBO's content-side code to no longer need to synchronously message uBO's core-side code to fetch the script tag filtering data. There is currently only 36 such filters (which works only on Firefox currently), so I do not see size being an issue to keep a copy of these filters content-side.
Related issue: #756.