Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Extensions do not working on local pdf files.

  • 14 replies
  • 2 have this problem
  • 1453 views
  • Last reply by earthfox

more options

After uptating firefox to 60.0.2 extensions (this is only one example https://addons.mozilla.org/en-US/firefox/addon/sozluk ) not working on local pdf files. Before that update there was not any problem.

in the old days there was exacly the same problem but it has fixed. and today we have the same problem again.

I tried uninstall firefox and reinstall with sync and non-snyc but the problem continues. macos 10.13.4, firefox 60.0.2

Modified by earthfox

Chosen solution

Here is a workaround to work with PDF files you already downloaded to your system.

Mozilla has an online demo of the latest development versions of the PDF viewer here:

https://mozilla.github.io/pdf.js/web/viewer.html

It shows a sample file, but you can load your own file -- there's an "Open File" button toward the right end of the black toolbar.

Since the PDF is loading into a web page version of the viewer, the special restrictions on the built-in viewer do not apply, and the dictionary extension works.

Does the site work for you?


If you prefer to open a local copy of the viewer instead of using that demo, I created a streamlined package.

To set it up:

(1) Download the PDF viewer files from my site:

https://www.jeffersonscher.com/res/pdfjs_local.zip

(2) Extract the contents (one file named index.html and two folders), which will occupy about 10.3MB of disk space.

(3) Open the downloaded index.html and it should launch the viewer. You can bookmark this page for future reference.

To display a PDF:

Use the blue Open File button on the toolbar to launch a file browsing window, find your PDF, and open it into the viewer.

After that, you should be able to use the dictionary extension in the document.

I tested on Windows 7; does it work on your Mac?

Read this answer in context 👍 1

All Replies (14)

more options

Click on the link and it doesn't exists. So you need to contact the addon creator and ask for support for their addon extension. FF End user forum can't address Addon extension problems.

more options

Dear WestEnd As I said before this problem is not about extensions. I had experienced such situation a few times. After the new version of firefox the problem has fixed without any extension changes.

I hope you understand me. (Excuse me for my english i am not native)

more options

Lastly if you want to test may you install that extension and try on local&remote pdf files https://addons.mozilla.org/en-US/firefox/addon/sozluk

more options

Which Firefox version that worked were you using before this update?

With local files there might be sandbox issues that prevent an extension from accessing local files.

You can check for sandbox security issues.

You can set this pref to 2 or 1 on the about:config page to reduce the sandbox security level.

  • security.sandbox.content.level = 1
  • close and restart Firefox to make the change effective.

If '1' still doesn't have effect then try '0' to disable the sandbox.

If this didn't work then undo/reverse the change and reset the pref via the right-click context menu to the default value.

You can open the about:config page via the location/address bar. You can accept the warning and click "I accept the risk!" to continue.

See also:

Modified by cor-el

more options

Dear cor-el Thank you so much your interest.

1 - I am not sure what was my previous firefox version. 2 - I have done everything which you write and unfortunately did not work.

I have changed back to content level to 3 (before that i tried 0 but not worked)

I think that subject is a bug. I have run across a few times before that.

Modified by earthfox

more options

Hi, why not just download a proper stand alone PDF program like Adobe Acrobat https://helpx.adobe.com/in/acrobat/kb/install-reader-dc-mac-os.html Or dozens of others for Mac : http://www.tucows.com/search.html?search_scope=mac&tree_id=&cost=&tag=&search_terms=PDF

As well there 8 pages of PDF Extensions for Firefox https://addons.mozilla.org/en-US/firefox/search/?platform=windows&q=PDF

more options

Pkshadow said

Hi, why not just download a proper stand alone PDF program like Adobe Acrobat https://helpx.adobe.com/in/acrobat/kb/install-reader-dc-mac-os.html Or dozens of others for Mac : http://www.tucows.com/search.html?search_scope=mac&tree_id=&cost=&tag=&search_terms=PDF As well there 8 pages of PDF Extensions for Firefox https://addons.mozilla.org/en-US/firefox/search/?platform=windows&q=PDF

Because I have to use Dictionary Addon on firefox. There is not any advanced&suitable application on macos as Firefox Dictionary Addons (Google translate)

Modified by earthfox

more options

This bug can be connected with the issue.

more options

Hmm, this seems to be a new issue in Firefox 60, according to the author of a different translation add-on.

https://github.com/mozilla/pdf.js/issues/9765

The response there implies access was blocked due to an unspecified security problem, so I suspect there's no way to make an exception at the moment.


TyDraniu said

This bug can be connected with the issue.

So that is fixed in future Firefox 62 (currently "Nightly"). Perhaps it will be fixed in Firefox 61, too, but it might not happen for Firefox 60.

more options

earthfox said

Because I have to use Dictionary Addon on firefox. There is not any advanced&suitable application on macos as Firefox Dictionary Addons (Google translate)

Which extension is it? What does it do?

more options

jscher2000 said

earthfox said
Because I have to use Dictionary Addon on firefox. There is not any advanced&suitable application on macos as Firefox Dictionary Addons (Google translate)

Which extension is it? What does it do?

did you read my first message? because i writted that.

more options

Oh, I thought there were two different things (translator and dictionary). So I already posted all the information I know about the problem.

more options

Chosen Solution

Here is a workaround to work with PDF files you already downloaded to your system.

Mozilla has an online demo of the latest development versions of the PDF viewer here:

https://mozilla.github.io/pdf.js/web/viewer.html

It shows a sample file, but you can load your own file -- there's an "Open File" button toward the right end of the black toolbar.

Since the PDF is loading into a web page version of the viewer, the special restrictions on the built-in viewer do not apply, and the dictionary extension works.

Does the site work for you?


If you prefer to open a local copy of the viewer instead of using that demo, I created a streamlined package.

To set it up:

(1) Download the PDF viewer files from my site:

https://www.jeffersonscher.com/res/pdfjs_local.zip

(2) Extract the contents (one file named index.html and two folders), which will occupy about 10.3MB of disk space.

(3) Open the downloaded index.html and it should launch the viewer. You can bookmark this page for future reference.

To display a PDF:

Use the blue Open File button on the toolbar to launch a file browsing window, find your PDF, and open it into the viewer.

After that, you should be able to use the dictionary extension in the document.

I tested on Windows 7; does it work on your Mac?

more options

Dear Mr. jscher2000;

Thank you so so much :) it solved my problem. Now I can use translate application with files that you sent me. I am so grateful to you.