Giter VIP home page Giter VIP logo

Comments (29)

FilipePS avatar FilipePS commented on May 18, 2024

1 - When you open the site, click on the extension popup, check the box "Always translate from [LANG]" and click on translate. This language is automatically translated and will appear in this list. If you are using a mobile device, you will not be able to use this feature.

2 - The button in the context menu is just a shortcut to basically click "Translate" in the popup. I can't imagine how the Google Translate page can be opened. Aren't you confusing it with the "Open in google translator" button?

3 - After changing the translation engine, the page must be reloaded. You can change the translation engine by clicking on the Google Translate icon in the popup as well.

Finally are you using the latest version of the extension? reinstall the extension and see if any problems prevail.

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

Could you provide screenshots or a video?

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

Screen Shot-1
Screen Shot-2
Screen Shot-3

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

This button you clicked on the Context Menu does not belong to my extension. You can see by the icon that is different.
I'm finding it strange that some texts are not appearing in the extension's popup.
Perhaps the Mac version of Firefox has incompatibilities.
I don't have a Mac to test what's going on but maybe you can help me.
Go to "about: debugging", click "This Firefox", find my "Translate Web Pages" extension and click "Inspect".
Open the "Console" tab, now click the button for my extension on the toolbar.
Show me what are all the error messages that will appear.

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

And another thing, this google translator site will only work if you disable the NoScript extension.

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

Well, that's weird. I don't know where that Translate This Page came from..

OK, here is the Console Output:

Uncaught TypeError: options is null
fetchServices moz-extension://360e1871-3932-e54e-9c30-8b42bcd26bb9/scripts/services.js:72
moz-extension://360e1871-3932-e54e-9c30-8b42bcd26bb9/scripts/services.js:198
services.js:72:12
Uncaught TypeError: options is null
moz-extension://360e1871-3932-e54e-9c30-8b42bcd26bb9/scripts/background.js:295
background.js:295:22
localStorage is null background.js:90
unreachable code after return statement
ext_managment.js:469:4
unreachable code after return statement
ext_managment.js:490:4
unreachable code after return statement
2 ext_managment.js:509:4
Uncaught Error: Invalid storage engine: null
setStorageEngine moz-extension://cf4303cb-be80-944a-b6b7-fe0ef5c384e1/js/background.js:909
Visitor moz-extension://cf4303cb-be80-944a-b6b7-fe0ef5c384e1/js/background.js:886
moz-extension://cf4303cb-be80-944a-b6b7-fe0ef5c384e1/js/background.js:1142
background.js:909:10
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). background.js:3759:15
Uncaught (in promise) TypeError: localStorage is null
[20]</< moz-extension://00287bad-e3cc-b948-957d-9b29e0d3d078/public/js/background.js:16770
background.js:16770:3
Firefox can’t establish a connection to the server at ws://127.0.0.1:10391/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10392/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10393/. global.min.js:9378:5530
Uncaught (in promise) Error: Content script already unregistered undefined
Firefox can’t establish a connection to the server at ws://127.0.0.1:10394/. global.min.js:9378:5530
Uncaught (in promise) Error: Content script already unregistered undefined
Uncaught (in promise) Error: Content script already unregistered undefined
Firefox can’t establish a connection to the server at ws://127.0.0.1:10395/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10391/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10392/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10393/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10394/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10395/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10391/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10392/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10393/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10394/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10395/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 5 global.min.js:9378
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. background.js:1399
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Unchecked lastError value: Error: sender.tab is undefined dnt.js:52
TypeError: can't convert undefined to object shared.js:52:185
Unchecked lastError value: Error: sender.tab is undefined fingerprinting.js:331
sendRemoveListener on closed conduit [email protected] ConduitsChild.jsm:108
Promise resolved after context unloaded
settings.js:442
TypeError: context.contentWindow is null
ExtensionContent.jsm:612:28
TypeError: can't access dead object
2
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. popup.js:205
sendRemoveListener on closed conduit [email protected] ConduitsChild.jsm:108
TypeError: can't convert undefined to object shared.js:52:185
Promise rejected after context unloaded:
fingerprinting.js:331
Promise rejected after context unloaded:
Messages.js:67
Promise rejected after context unloaded:
dnt.js:52
Promise resolved after context unloaded
settings.js:442
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 397 popup.js:197
Firefox can’t establish a connection to the server at ws://127.0.0.1:10391/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10392/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10393/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10394/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10395/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10391/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10392/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10393/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10394/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10395/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10391/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10392/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10393/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10394/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10395/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10391/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10392/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10393/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10394/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10395/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

I discovered from where that other contextual menu item came from. I also have installed "Simple Translate." It's designed to be used for selected text, not entire web pages. But, oddly, it installs a "Translate This Page" option.

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

I think you chose the wrong extension. I tried this url.
about:devtools-toolbox?type=extension&id=%7B036a55b4-5e72-4d05-a06c-cba2dfcc134a%7D

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

Now I'm really confused. Did I send the wrong Console output?

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

I think this output is from the CanvasBlocker extension.

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

This is what I used

Extension ID
{036a55b4-5e72-4d05-a06c-cba2dfcc134a}
Internal UUID
40aecb98-c061-0842-af6f-85fca7f460ab
Manifest URL
moz-extension://40aecb98-c061-0842-af6f-85fca7f460ab/manifest.json

I deleted the Console content and deleted Canvas Blocker. Now I get:

TypeError: PrecompiledScript.executeInGlobal: Argument 1 is not an object. 6 ExtensionContent.jsm:567:25
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. popup.js:205
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. popup.js:197
TypeError: can't convert undefined to object shared.js:52:185
Promise rejected after context unloaded:
Messages.js:67
Promise rejected after context unloaded:
fingerprinting.js:331
Promise rejected after context unloaded:
dnt.js:52
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. 254 popup.js:197

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

Which language is your Firefox in?

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

Open this urls (about:devtools-toolbox?type=extension&id=%7B036a55b4-5e72-4d05-a06c-cba2dfcc134a%7D). Go to the console tab and let me know the error messages.

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

I don't think any of this applies to your extension:

Uncaught TypeError: options is null
fetchServices moz-extension://360e1871-3932-e54e-9c30-8b42bcd26bb9/scripts/services.js:72
moz-extension://360e1871-3932-e54e-9c30-8b42bcd26bb9/scripts/services.js:198
services.js:72:12
Uncaught TypeError: options is null
moz-extension://360e1871-3932-e54e-9c30-8b42bcd26bb9/scripts/background.js:295
background.js:295:22
unreachable code after return statement
ext_managment.js:469:4
unreachable code after return statement
ext_managment.js:490:4
unreachable code after return statement
ext_managment.js:509:4
localStorage is null background.js:90
unreachable code after return statement
ext_managment.js:509:4
Uncaught Error: Invalid storage engine: null
setStorageEngine moz-extension://cf4303cb-be80-944a-b6b7-fe0ef5c384e1/js/background.js:909
Visitor moz-extension://cf4303cb-be80-944a-b6b7-fe0ef5c384e1/js/background.js:886
moz-extension://cf4303cb-be80-944a-b6b7-fe0ef5c384e1/js/background.js:1142
background.js:909:10
Content Security Policy: The page’s settings blocked the loading of a resource at eval (“script-src”). background.js:3759:15
Firefox can’t establish a connection to the server at ws://127.0.0.1:10391/. global.min.js:9378:5530
Uncaught (in promise) TypeError: localStorage is null
[20]</< moz-extension://00287bad-e3cc-b948-957d-9b29e0d3d078/public/js/background.js:16770
background.js:16770:3
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10392/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10393/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10394/. global.min.js:9378:5530
Firefox can’t establish a connection to the server at ws://127.0.0.1:10395/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist.

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

I think you fixed it. I found ver 7.0.

Thank you. I will donate.

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

I still don't understand this error. I believe the problem is with your computer. More than 2,000 people use the extension on Mac Os every day and have not reported a problem.
Has your Firefox been downloaded directly from the official website? Did you change any settings in "about: config"?

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

I always download Firefox by selecting "About Firefox" in the top menu. It either reports that FF is up-to-date or it immediately updates. I assume the update comes directly from Mozilla, but I have no way of knowing for certain.

I did change something with about:config:
Enable Redirect Tracking Protection in Firefox
https://www.ghacks.net/2020/08/06/how-to-enable-redirect-tracking-in-firefox/

Possible source of the error?

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

Follow these steps:

img1
img2
img3
img4
img5

And also run this command, and show me the output.
browser.i18n.getUILanguage()

img6

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

Hi,
I'm a little short on time at the moment. I'll get to it soon. I'm not sure what you mean by "run" this command. Just enter it in the Console log? Also, is this in response to the Redirect Tracking Protection?

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

The images show what you have to do.
And that setting does not affect the addon.

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

Well, I'm sorry, I don't understand any of this (I am not a developer). I tried pasting in the command "browser.i18n.getUILanguage()" and this was the result:

"Scam Warning: Take care when pasting things you don’t understand. This could allow attackers to steal your identity or take control of your computer. Please type ‘allow pasting’ below (no need to press enter) to allow pasting.

Also, I'm still getting "Firefox can’t establish a connection to the server at ws://127.0.0.1:10391/. global.min.js:9378:5530
Unchecked lastError value: Error: Could not establish connection. Receiving end does not exist. global.min.js:9378
Firefox can’t establish a connection to the server at ws://127.0.0.1:10392/.

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

Do other addons also have problems? I suggest that you uninstall Firefox and install it again.

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

I do not know whether other extensions have problems. Most are just supposed to work in the background (block ads, for example).

Are you suggesting that I re-install only the application (doable), or that I remove both the application and my profile and start over (not doable; too much effort that probably will have no effect).

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

Do you still use the extension? Could you pass an email address to a private message?

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

Sorry, I do not know what you mean by "Could you pass an email address to a private message?" I have used the extension (now ver 7.1) only one or two times in the preceding three weeks. I've checked it now as well. It appears to function properly. I'm using FF ver 80, Mac OS 10.15.

Thank you.

from traduzir-paginas-web.

FilipePS avatar FilipePS commented on May 18, 2024

So the problem is gone?

from traduzir-paginas-web.

SamTheDoggie avatar SamTheDoggie commented on May 18, 2024

Yes, apparently the problem is gone.

from traduzir-paginas-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.