Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitHub Gist creation and editing not working in Firefox?

Tags:

github

firefox

Long story short:

I tried to create/edit GitHub Gists with

  • Firefox 67.0 on Windows 10
  • Firefox 67.0 on Linux Fedora
  • Add-ons: NoScript, Ghostery, LastPass
  • Tried with NoScript and Ghostery disabled and also with NoScript in "all shields down" mode and also with Firefox in "safe mode".

Problems:

Creation of a Gist is arbitrary. More often than not, the two buttons "create public gist" and "create secret gist" just stay disabled and the editor widget is "dead".

dead gist editor, can't create

Occasionally, creation works, the editor widget goes lives and displays line numbers and the editor buttons become active. But it happens annoyingly rarely.

Editing a Gist is arbitrary. Again, it sometimes works but currently I just get blank editor widgets that have no cursor.

Anyone else who has these problems? It may be a temporary hiccup, or maybe there is some JavaScript that Firefox doesn't like. However, a web search brings up nothing - I can't believe I am the only one stuck with this this.

like image 502
David Tonhofer Avatar asked May 24 '19 09:05

David Tonhofer


People also ask

Can you edit a GitHub gist?

We can edit, delete, unsubscribe, star, embed, copy, share, and download a raw copy or zipped copy of a gist. We also can share a gist in multiple ways. You can opt to embed the gist into a website, copy a shareable link to send, clone (or copy) the gist via the git command to a local repository or via SSH.

What is difference between Gist and repository?

The GitHub repository will hold or maintain the multiple version of the files or history of changes and you can retrieve a specific version of a file when you want. Whereas gist will create each post as a new repository and will maintain the history of the file.


1 Answers

My earlier testing fails completely. I was sure I had tested in safe mode with no change in result.

However I retested with the latest Firefox update (FF 67 on Linux) and found out that it is the LastPass plugin which is the root of the problem. I would not have suspected that.

Disable that plugin, leaving all the others active and Gist creation and Gist editing work.

Enable that plugin and Gist creation and Gist editing work once after a Firefox restart. But after that, you get the unresponsive text entry widget.

Similarly, running Firefox in safe mode with all plugins disabled also fixes the "problem".

And of course, if you do this using Konqueror instead of Firefox, creation/editing work too.

like image 82
David Tonhofer Avatar answered Oct 07 '22 17:10

David Tonhofer