• How to translate webpages to English

    From John C.@r9jmg0@yahoo.com to alt.comp.software.firefox on Tue Jan 27 07:19:48 2026
    From Newsgroup: alt.comp.software.firefox

    My computer's processor is too old to run Firefox's built-in website translation. I asked an AI to write a bookmarklet to do the job and it
    works fine.

    Code for bookmarklet is:

    javascript:window.open('https://translate.google.com/translate?sl=auto&tl=en&u='
    + encodeURIComponent(location.href));

    Yeah, it's Google, but whatyagonnado?
    --
    John C. I filter crossposts, various trolls & dizum.com. Doing this
    makes this newsgroup easier to read & more on-topic. Take back the tech companies from India & industry from China.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Mr. Man-wai Chang@toylet.toylet@gmail.com to alt.comp.software.firefox on Tue Jan 27 23:49:52 2026
    From Newsgroup: alt.comp.software.firefox

    On 1/27/2026 11:19 PM, John C. wrote:
    My computer's processor is too old to run Firefox's built-in website translation. I asked an AI to write a bookmarklet to do the job and it
    works fine.
    ....
    Yeah, it's Google, but whatyagonnado?

    Google Translate has been around for many years.

    Google Translate - Wikipedia
    <https://en.wikipedia.org/wiki/Google_Translate>
    --
    @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
    / v \ May the Force and farces be with you! Live long and prosper!!
    /( _ )\ https://sites.google.com/site/changmw/
    ^ ^ https://github.com/changmw/changmw
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Mr. Man-wai Chang@toylet.toylet@gmail.com to alt.comp.software.firefox,alt.conspiracy on Tue Jan 27 23:53:07 2026
    From Newsgroup: alt.comp.software.firefox

    On 1/27/2026 11:49 PM, Mr. Man-wai Chang wrote:

    Google Translate - Wikipedia
    <https://en.wikipedia.org/wiki/Google_Translate>


    BTW....

    Learning is also a kind of searching. A.I. engines might all be search
    engines in disguise.
    --
    @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
    / v \ May the Force and farces be with you! Live long and prosper!!
    /( _ )\ https://sites.google.com/site/changmw/
    ^ ^ https://github.com/changmw/changmw
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From VanguardLH@V@nguard.LH to alt.comp.software.firefox on Tue Jan 27 09:55:37 2026
    From Newsgroup: alt.comp.software.firefox

    "John C." <r9jmg0@yahoo.com> wrote:

    My computer's processor is too old to run Firefox's built-in website translation. I asked an AI to write a bookmarklet to do the job and it
    works fine.

    Code for bookmarklet is:

    javascript:window.open('https://translate.google.com/translate?sl=auto&tl=en&u='
    + encodeURIComponent(location.href));

    Yeah, it's Google, but whatyagonnado?

    Another method is to use keywords in bookmarks in Firefox. Add a
    bookmark to Google Translate whose URL is:

    https://translate.google.com/#auto/en/%s

    %s is the placeholder for a string. Add a keyword to the bookmark, like
    gt (for Google Translate). When you hit a web page you want translated,
    copy the URL, and paste into the address bar of the web browser as:

    gt <URLstring>

    I had LOTS of sites added as bookmarks using %s with keywords I could
    use in the address bar. You do a search at a website, take the URL from
    the address bar, strip off the string argument to replace with %s, and
    use that as the URL in the bookmark. I had an entire Search folder in bookmarks with these for easy searching from the address bar.

    https://support.mozilla.org/en-US/kb/bookmarks-firefox
    "How to use keywords with bookmarks"
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From John C.@r9jmg0@yahoo.com to alt.comp.software.firefox on Wed Jan 28 05:28:53 2026
    From Newsgroup: alt.comp.software.firefox

    On 26/01/27 07:49 AM, Mr. Man-wai Chang wrote:
    On 1/27/2026 11:19 PM, John C. wrote:
    My computer's processor is too old to run Firefox's built-in website
    translation. I asked an AI to write a bookmarklet to do the job and it
    works fine.
    ....
    Yeah, it's Google, but whatyagonnado?

    Google Translate has been around for many years.

    Google Translate - Wikipedia
    <https://en.wikipedia.org/wiki/Google_Translate>

    Of course I know that. What hasn't been around for years is Copilot's
    code for the bookmarklet which I provided.
    --
    John C. No ad, CD, cripple, demo, nag, pay, pirated, share, spy,
    time-limited, trial or web wares for me please. I filter crossposts,
    various trolls & dizum.com. This makes ACF easier to read. Take back
    tech corporations from India & industry back from China.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Mr. Man-wai Chang@toylet.toylet@gmail.com to alt.comp.software.firefox on Wed Jan 28 22:35:31 2026
    From Newsgroup: alt.comp.software.firefox

    On 1/28/2026 9:28 PM, John C. wrote:

    Of course I know that. What hasn't been around for years is Copilot's
    code for the bookmarklet which I provided.


    And Copilot may not have the decades old data collected by Google Search
    and other services! :)
    --
    @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
    / v \ May the Force and farces be with you! Live long and prosper!!
    /( _ )\ https://sites.google.com/site/changmw/
    ^ ^ https://github.com/changmw/changmw
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From VanguardLH@V@nguard.LH to alt.comp.software.firefox on Wed Jan 28 10:08:34 2026
    From Newsgroup: alt.comp.software.firefox

    "John C." <r9jmg0@yahoo.com> wrote:

    Man-wai Chang wrote:

    John C. wrote:

    My computer's processor is too old to run Firefox's built-in website
    translation. I asked an AI to write a bookmarklet to do the job and
    it works fine.
    ....
    Yeah, it's Google, but whatyagonnado?

    Google Translate has been around for many years.

    Google Translate - Wikipedia
    <https://en.wikipedia.org/wiki/Google_Translate>

    Of course I know that. What hasn't been around for years is Copilot's
    code for the bookmarklet which I provided.

    Bookmarklets have been around ever since Javascript and bookmarks were supported in web browsers, so maybe around 30 years, or more. For
    example, for websites that disable right-clicking on the web doc which
    is blocked by using Javascript, you can define a bookmarklet that tries
    to reenable right-clicking.

    The biggest hurdle for non-Javascript programmer types, which is the
    vast majority of users, is finding mention of the Javascript code to
    specify as a bookmarklet. Copilot might help, but remember AI is not
    always correct, so you have to verify what it claims, like test hundreds
    of websites with the bookmarklet to verify a claim the bookmarklet
    works. Another problem with AI generated results is they rarely cite
    the sources, and instead pretend they divined the answer. If the AI
    used ancient sources, the information it purports as its own could be
    out of date, no longer valid, or wrong today.

    In a search, and ignoring any AI generated results, I found, for
    example:

    javascript:( function() { var url = "https://translate.google.com/translate?sl=auto&tl=en&u=" + location.href; window.location.assign(url); } ) ();
    from
    https://gist.github.com/illusionfield/db576c73a103f37e0044
    (dated Oct 2021)

    javascript: location.href = 'https://translate.google.com/translate?sl=auto&tl=en&hl=en&u=' + escape(location.href);
    from
    https://ouoholly.github.io/bookmarklet/content/GoogleTranslate.html

    While the above are shown as one-liners, you can spread the code across multiple lines. The requirement is the statement ends with a semi-colon
    for a terminator. The above are just some examples of YOU deciding
    which result hits to investigate, not some AI purporting to aggregate
    the information from sources it does not cite. And just like with each
    author claiming a bookmarklet works, the one by AI may cease later.

    Bookmarklets don't always work at all websites. The one you gave might
    work most of the time, the ones above might work, and others might work,
    but users will note Google changes something, like the URL or its
    arguments, that makes the bookmarklet unusable. What if Google changes
    the subdomain, or path, or arguments?
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Vic@vic@smurfing.com to alt.comp.software.firefox on Wed Jan 28 11:29:32 2026
    From Newsgroup: alt.comp.software.firefox

    On Wed, 28 Jan 2026 05:28:53 -0800, John C. wrote:

    On 26/01/27 07:49 AM, Mr. Man-wai Chang wrote:
    On 1/27/2026 11:19 PM, John C. wrote:
    My computer's processor is too old to run Firefox's built-in website
    translation. I asked an AI to write a bookmarklet to do the job and it
    works fine.
    ....
    Yeah, it's Google, but whatyagonnado?

    Google Translate has been around for many years.

    Google Translate - Wikipedia
    <https://en.wikipedia.org/wiki/Google_Translate>

    Of course I know that. What hasn't been around for years is Copilot's
    code for the bookmarklet which I provided.

    Has anyone mentioned http://www.bing.com/translator/
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Carlos E.R.@robin_listas@es.invalid to alt.comp.software.firefox on Wed Jan 28 23:00:21 2026
    From Newsgroup: alt.comp.software.firefox

    On 2026-01-27 16:19, John C. wrote:
    My computer's processor is too old to run Firefox's built-in website translation. I asked an AI to write a bookmarklet to do the job and it
    works fine.

    Code for bookmarklet is:

    javascript:window.open('https://translate.google.com/translate?sl=auto&tl=en&u='
    + encodeURIComponent(location.href));

    Yeah, it's Google, but whatyagonnado?


    There are addons to do it. I use "TWP - Translate Web Pages". Can use
    several translation services.
    --
    Cheers, Carlos.
    ESEfc-Efc+, EUEfc-Efc|;
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From VanguardLH@V@nguard.LH to alt.comp.software.firefox on Wed Jan 28 16:19:25 2026
    From Newsgroup: alt.comp.software.firefox

    "Carlos E.R." <robin_listas@es.invalid> wrote:

    John C. wrote:

    My computer's processor is too old to run Firefox's built-in website
    translation. I asked an AI to write a bookmarklet to do the job and it
    works fine.

    Code for bookmarklet is:

    javascript:window.open('https://translate.google.com/translate?sl=auto&tl=en&u=' + encodeURIComponent(location.href));

    Yeah, it's Google, but whatyagonnado?

    There are addons to do it. I use "TWP - Translate Web Pages". Can use several translation services.

    https://addons.mozilla.org/en-US/firefox/addon/traduzir-paginas-web/

    No mention of DeepL despite there is a free service tier. Just Google,
    Bing or Yandex.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Carlos E.R.@robin_listas@es.invalid to alt.comp.software.firefox on Thu Jan 29 01:11:06 2026
    From Newsgroup: alt.comp.software.firefox

    On 2026-01-28 23:19, VanguardLH wrote:
    "Carlos E.R." <robin_listas@es.invalid> wrote:

    John C. wrote:

    My computer's processor is too old to run Firefox's built-in website
    translation. I asked an AI to write a bookmarklet to do the job and it
    works fine.

    Code for bookmarklet is:

    javascript:window.open('https://translate.google.com/translate?sl=auto&tl=en&u=' + encodeURIComponent(location.href));

    Yeah, it's Google, but whatyagonnado?

    There are addons to do it. I use "TWP - Translate Web Pages". Can use
    several translation services.

    https://addons.mozilla.org/en-US/firefox/addon/traduzir-paginas-web/

    No mention of DeepL despite there is a free service tier. Just Google,
    Bing or Yandex.

    I saw a mention of DeepL somewhere in the settings today, but can not
    find it again. No way in the settings to choose translation service,
    except a button with an icon for three services.

    DeepL has a problem, though: the gratis translator is limited to 1500
    words at a time.

    Ah, found the reference, in the release notes:

    Fixed:
    Google translate does not work when specifying original language
    Translation with DeepL in new tab does not work
    Updated interface localizations
    --
    Cheers, Carlos.
    ESEfc-Efc+, EUEfc-Efc|;
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From John C.@r9jmg0@yahoo.com to alt.comp.software.firefox on Thu Jan 29 03:59:25 2026
    From Newsgroup: alt.comp.software.firefox

    Mr. Man-wai Chang wrote:
    John C. wrote:

    Of course I know that. What hasn't been around for years is Copilot's
    code for the bookmarklet which I provided.

    And Copilot may not have the decades old data collected by Google Search
    and other services! :)

    And what did I say at the end of my O.P.?

    "Yeah, it's Google, but whatyagonnado?"

    What I do is to clear my cache and wipe my browsing history frequently,
    even while the browser is still open.
    --
    John C. No ad, CD, cripple, demo, nag, pay, pirated, share, spy,
    time-limited, trial or web wares for me please. I filter crossposts,
    various trolls & dizum.com. This makes ACF easier to read. Take back
    tech corporations from India & industry back from China.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From John C.@r9jmg0@yahoo.com to alt.comp.software.firefox on Thu Jan 29 04:05:08 2026
    From Newsgroup: alt.comp.software.firefox

    On 26/01/28 08:08 AM, VanguardLH wrote:
    "John C." <r9jmg0@yahoo.com> wrote:

    Man-wai Chang wrote:

    John C. wrote:

    My computer's processor is too old to run Firefox's built-in website
    translation. I asked an AI to write a bookmarklet to do the job and
    it works fine.
    ....
    Yeah, it's Google, but whatyagonnado?

    Google Translate has been around for many years.

    Google Translate - Wikipedia
    <https://en.wikipedia.org/wiki/Google_Translate>

    Of course I know that. What hasn't been around for years is Copilot's
    code for the bookmarklet which I provided.

    Bookmarklets have been around ever since Javascript and bookmarks were supported in web browsers, so maybe around 30 years, or more. For
    example, for websites that disable right-clicking on the web doc which
    is blocked by using Javascript, you can define a bookmarklet that tries
    to reenable right-clicking.

    The biggest hurdle for non-Javascript programmer types, which is the
    vast majority of users, is finding mention of the Javascript code to
    specify as a bookmarklet. Copilot might help, but remember AI is not
    always correct, so you have to verify what it claims, like test hundreds
    of websites with the bookmarklet to verify a claim the bookmarklet
    works. Another problem with AI generated results is they rarely cite
    the sources, and instead pretend they divined the answer. If the AI
    used ancient sources, the information it purports as its own could be
    out of date, no longer valid, or wrong today.

    In a search, and ignoring any AI generated results, I found, for
    example:

    javascript:( function() { var url = "https://translate.google.com/translate?sl=auto&tl=en&u=" + location.href; window.location.assign(url); } ) ();
    from
    https://gist.github.com/illusionfield/db576c73a103f37e0044
    (dated Oct 2021)

    javascript: location.href = 'https://translate.google.com/translate?sl=auto&tl=en&hl=en&u=' + escape(location.href);
    from
    https://ouoholly.github.io/bookmarklet/content/GoogleTranslate.html

    While the above are shown as one-liners, you can spread the code across multiple lines. The requirement is the statement ends with a semi-colon
    for a terminator. The above are just some examples of YOU deciding
    which result hits to investigate, not some AI purporting to aggregate
    the information from sources it does not cite. And just like with each author claiming a bookmarklet works, the one by AI may cease later.

    Bookmarklets don't always work at all websites. The one you gave might
    work most of the time, the ones above might work, and others might work,
    but users will note Google changes something, like the URL or its
    arguments, that makes the bookmarklet unusable. What if Google changes
    the subdomain, or path, or arguments?

    Of COURSE my bookmarklet doesn't work on every website that's
    non-English. How could it? However, it still works often enough that
    it's of use for me. And it works far more often than not.

    I'm guessing that Firefox's built in translation feature ALSO doesn't
    work all the time either.
    --
    John C. No ad, CD, cripple, demo, nag, pay, pirated, share, spy,
    time-limited, trial or web wares for me please. I filter crossposts,
    various trolls & dizum.com. This makes ACF easier to read. Take back
    tech corporations from India & industry back from China.
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From John C.@r9jmg0@yahoo.com to alt.comp.software.firefox on Thu Jan 29 04:07:47 2026
    From Newsgroup: alt.comp.software.firefox

    On 26/01/28 09:29 AM, Vic wrote:
    On Wed, 28 Jan 2026 05:28:53 -0800, John C. wrote:

    On 26/01/27 07:49 AM, Mr. Man-wai Chang wrote:
    On 1/27/2026 11:19 PM, John C. wrote:
    My computer's processor is too old to run Firefox's built-in website
    translation. I asked an AI to write a bookmarklet to do the job and it >>>> works fine.
    ....
    Yeah, it's Google, but whatyagonnado?

    Google Translate has been around for many years.

    Google Translate - Wikipedia
    <https://en.wikipedia.org/wiki/Google_Translate>

    Of course I know that. What hasn't been around for years is Copilot's
    code for the bookmarklet which I provided.

    Has anyone mentioned http://www.bing.com/translator/

    That's a good translator, but from what I've seen you can't put a link
    in the "translate from" field and have it open a version of that link's
    website that's been translated to English.
    --
    John C. I filter crossposts, various trolls & dizum.com. Doing this
    makes this newsgroup easier to read & more on-topic. Take back the tech companies from India & industry from China.

    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From Mr. Man-wai Chang@toylet.toylet@gmail.com to alt.comp.software.firefox on Thu Jan 29 22:53:23 2026
    From Newsgroup: alt.comp.software.firefox

    On 1/29/2026 7:59 PM, John C. wrote:

    What I do is to clear my cache and wipe my browsing history frequently,
    even while the browser is still open.


    That wipes LOCAL data, not those collected and logged by REMOTE servers.
    --
    @~@ Simplicity is Beauty! Remain silent! Drink, Blink, Stretch!
    / v \ May the Force and farces be with you! Live long and prosper!!
    /( _ )\ https://sites.google.com/site/changmw/
    ^ ^ https://github.com/changmw/changmw
    --- Synchronet 3.21b-Linux NewsLink 1.2
  • From John C.@r9jmg0@yahoo.com to alt.comp.software.firefox on Fri Jan 30 03:55:28 2026
    From Newsgroup: alt.comp.software.firefox

    On 26/01/29 06:53 AM, Mr. Man-wai Chang wrote:
    On 1/29/2026 7:59 PM, John C. wrote:

    What I do is to clear my cache and wipe my browsing history frequently,
    even while the browser is still open.

    That wipes LOCAL data, not those collected and logged by REMOTE servers.

    Oh well. What kind of information are they going to collect that will
    hurt me?

    Also, what do YOU suggest instead?
    --
    John C. No ad, CD, cripple, demo, nag, pay, pirated, share, spy,
    time-limited, trial or web wares for me please. I filter crossposts,
    various trolls & dizum.com. This makes ACF easier to read. Take back
    tech corporations from India & industry back from China.
    --- Synchronet 3.21b-Linux NewsLink 1.2