You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.
Looks like something else was going on at the time I checked, probably I was using a silly test case.
So this means the little "hack" I currently use to pass exception filters from contentscript-start to contentscript-end can be removed, and I will just use the vAPI object to pass the information, hence skipping the overhead of encoding/decoding the exceptions into a style tag attribute.
The text was updated successfully, but these errors were encountered:
A while ago I had concluded (after trying to make it work) content scripts lived in their own world, with their own global context. The
vAPI
from @Deathamns proves me wrong: all content scripts (for a same page or frame) share the same global context.Looks like something else was going on at the time I checked, probably I was using a silly test case.
So this means the little "hack" I currently use to pass exception filters from
contentscript-start
tocontentscript-end
can be removed, and I will just use thevAPI
object to pass the information, hence skipping the overhead of encoding/decoding the exceptions into a style tag attribute.The text was updated successfully, but these errors were encountered: