diff options
author | 2021-12-25 00:01:18 +0100 | |
---|---|---|
committer | 2021-12-25 00:01:18 +0100 | |
commit | e321534fbea9f09b139d440584f6b84ad0afb80f (patch) | |
tree | c4b4df109589475dd5f40a0d31f47a6aa9e43195 /packages/preload | |
parent | feat: Shim userAgentData in all frames and workers (diff) | |
download | sophie-e321534fbea9f09b139d440584f6b84ad0afb80f.tar.gz sophie-e321534fbea9f09b139d440584f6b84ad0afb80f.tar.zst sophie-e321534fbea9f09b139d440584f6b84ad0afb80f.zip |
refactor: Simplify script injection
Inject CSS and main world scripts synchronously to avoid race conditions
with page loading.
Don't try to miming userAgentData for now, since it won't bypass
google's checks. However, simply omitting chrome from the user agent
does bypass them, at least for now.
Diffstat (limited to 'packages/preload')
0 files changed, 0 insertions, 0 deletions