kinoko koutya
unread,May 31, 2023, 2:57:49 AM5/31/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, Oliver Dunk, Chromium Extensions, kinoko koutya
thanks for the reply.
>Could you share a bit more about your use case? That would help point towards the best solution.
I am planning to create a browser extension that blocks requests to dangerous websites when a request occurs.
When I use the fetch function to send a request to a different server, I intend to wait using the "await" function until I receive the response.
In Manifest V3, is it true that requests from the browser are sent to the website before the processing inside the onBeforeRequest function is completed?
If there are any websites or documentation that describe this specification, could you please let me know?
>One of the things I often recommend here is using an HTTP proxy instead of an extension.
I have also considered using a proxy, but currently, it is challenging to implement.
Therefore, I prefer to use a browser extension for this purpose.
>Or, if your extension is installed by policy, we do still support blocking webRequest in those cases
If you distribute an extension using the "Force install apps and extensions" procedure at the URL below, my understanding is that you can use "blocking webRequest".
Is my understanding correct?
Also, in that case, do you need to use Manifest V2 for the extension version instead of Manifest V3?
https://support.google.com/chrome/a/answer/6306504?hl=en&sjid=5599670035449560702-AP2023年5月30日火曜日 21:23:18 UTC+9 Oliver Dunk: