Showing questions tagged: Show all questions
  • Locked
  • Archived

Suddenly cannot open local .py files (Python source files) as plain text

Hello. Up until recently, I could click a link to a locally stored Python source file (.py extension) and it would display as a plain text file in Firefox. This is what… (read more)

Hello.

Up until recently, I could click a link to a locally stored Python source file (.py extension) and it would display as a plain text file in Firefox. This is what I want; e.g., it is a way that I view my notes, refer to examples, and so on.

Starting a few days ago, when I click such a link, I now get a pop-up window with the two options "Open with" or "Save file." I have tried a number of things to get back to the old behavior, including deleting the handlers.json file in my Profile folder, running a full Refresh, and creating a new profile. None of these got me back to the old behavior: displaying the .py file as plain text.

If I set the "Open with" option in that pop-up window to Firefox, I just keep getting the pop-up over and over again, while a new tab is created each time.

Note: if I look at a .py file on GitHub, there is no problem: again, the file just displays.

I suspected this behavior is connected with my having installed the latest version of Python (3.9.6) a few days ago, and I just confirmed this by updating Python on another machine. That is, on the other machine, the .py file would display as plain text until just now, after I update Python there.

So, I believe the Python installation is the cause of the problem, but, nonetheless, it seems to me that I should be able to set (or unset?) something within Firefox to make .py files open as plain text, as they used to.

Any ideas?

Thanks in advance.

Asked by bjkeefe 2 years ago

Last reply by bjkeefe 1 year ago

  • Archived

Changing the language in private mode/tab

I use the private tab for questions or otherwise things I'm too afraid to search up or keep in my history, and it's annoying that the results aren't in english and/or oth… (read more)

I use the private tab for questions or otherwise things I'm too afraid to search up or keep in my history, and it's annoying that the results aren't in english and/or other websites aren't in english. I'd like to know if there is a setting/feature for this.

Thanks in advance!

Asked by RabbitsMayDance 1 year ago

Last reply by cor-el 1 year ago

  • Archived

Nearly all addons stop working after restart. How to fix?

1. I'm using Firefox portable latest version. Nearly all addons stop working every time I restart Firefox. I have to manually disable and re-enable each addon to make th… (read more)

1. I'm using Firefox portable latest version.

Nearly all addons stop working every time I restart Firefox. I have to manually disable and re-enable each addon to make them working again.

It takes considerably long time the first time I load the first website after I restart Firefox. Also it may suddenly hang after using for a long time.

What's up? How could I fix them?


2. I would like to transfer all settings, cookies/local storage, addons (settings and files etc.) to a fresh copy of Firefox portable, to see if those issues would be fixed. What should I do? Which files do I need to backup?

Thank you.

Asked by Master 1 year ago

Last reply by cor-el 1 year ago

  • Archived

Background color and update choice!

I am disappointed with the background change with updates. The last time I updated Firefox, I had to do a system recovery to revert back. Then another person expressed … (read more)

I am disappointed with the background change with updates. The last time I updated Firefox, I had to do a system recovery to revert back. Then another person expressed concerns with a new version taking control over updating. Why don't you have updates that give you options to choose the background color and who decides if and when you update? I will not update Firefox under these conditions. And I don't want to spend half a day trying to change my background back to white, and especially if would have to do that with every update. Like I have to change my printing options when I do updates! I have been so happy with Firefox for the last 20 yrs. or so, until all of this. Please make this more user friendly and optional.

Asked by hotkats4 1 year ago

Last reply by TyDraniu 1 year ago

  • Archived

Deleting a folder in history removes every history of the website

Why does this remove the entire history of a website? It doesn't make sense. I just want to remove what history it has made today. This doesn't make any sense... Not at a… (read more)

Why does this remove the entire history of a website? It doesn't make sense. I just want to remove what history it has made today. This doesn't make any sense... Not at all and the more I explore Mozilla, the more confusing it is despite I have used the browser for more than 5 years.

Asked by hudson.lavida 1 year ago

Last reply by hudson.lavida 1 year ago

  • Archived

The display turns on when a push notification is received

When a push notification is received, the display turns on (via DPMS). Is it possible to get rid of this behavior? Is there some configuration option in Firefox in about:… (read more)

When a push notification is received, the display turns on (via DPMS). Is it possible to get rid of this behavior? Is there some configuration option in Firefox in about:config? I can't exclude that it's not Firefox doing this, but I'm guessing it is.

Asked by zostajekni 1 year ago

Last reply by zostajekni 1 year ago