block/redirect before a request is about to occur to *.translate.goog
proxy
#2
Labels
enhancement
New feature or request
*.translate.goog
proxy
#2
Context
In the Chromium world, Google search results can be auto translated and that's all. The span button is there to reverse the translation. But in Firefox... Google Search is MiTMing the results by rewriting the URLs to use their Google Translate proxy, without notice.
I don't know why, but this difference in behavior is the umpteenth discrimination to be added to the user agent's list of abuses.
Current application
Currently the extension still loads their proxied content for a second in order to be able to get the
window.document.baseURI
value.Solution
One solution would be to block any request to
*.translate.goog
and redirect to the original URL. The problem is that the Firefox extension is based on the top of Manifest v2, and the Chromium ones on the of Manifest v3.Need to chose between:
firefox-mv3
extension with the same base code for every browser ;The first solution is the most elegant and long term, but the second one could save me from the unexpected, cause I'm not sure about the differences in support between the two versions.
Documentation
At the present time, the Wikimedia Foundation User Agent Breakdowns states that Firefox has 3.3% share of the market (sad)... and 99 % of the Firefox user base is using ≥ Firefox 115.
The text was updated successfully, but these errors were encountered: