Question
How could one solve captchas, such as those shown by zoom when one would like to join a meeting from the browser, whilst blocking access to www.google.com
(search queries) on Ubuntu 20.04?
Constraints
Blocking google.com has to be browser-agnostic. I assume that implies browser-plugins are not a feasible option as I consider it not feasible to build a plugin for each existing browser. Currently, the host file is used to block google.com, and I thought perhaps allowing the exception to access https://www.google.com/recaptcha/api.js?hl=en
could facilitate solving captchas. However, the host file blocks domains without blocking/permitting blocking/allowing specific urls/paths within a domain.
Approaches
So either one could find a way to block google.com (browser independent) whilst still allowing an exception for e.g. https://www.google.com/recaptcha/api.js?hl=en, or perhaps there is an alternative method to solve the captchas in/for the browser.
Context
I use a productivity lock that I would like people with arbitrary browsers to be able to use, which blocks (image and video search results of) google.com. Yet I think it is practical/productive to be able to solve captchas. I hope this does not spiral off into the irrationality of having a productivity block.
www.google.com
, isn't it? If you block it the internet stops working for you. I would be interested in an answer as well. – Michael W Apr 26 '21 at 18:33