Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox freeze trying to open Markdown Here options #415

Closed
jjroper opened this issue Mar 15, 2017 · 2 comments
Closed

Firefox freeze trying to open Markdown Here options #415

jjroper opened this issue Mar 15, 2017 · 2 comments

Comments

@jjroper
Copy link

jjroper commented Mar 15, 2017

I don't know when it started, but when I went to tweak MDH options in Firefox (the most recent version, with a just re-installed MDH), nothing happened. I then clicked on anything within Firefox and got a "ping" noise and Firefox was completely unresponsive. I had to force close to restart. Since the first time, I have tried on and off. No luck. Any suggestions?

@r2evans
Copy link

r2evans commented Apr 6, 2017

I have the same problem. I've been able to work around it this way. (This is not for the faint-of-heart, unfortunately.)

  1. Go to Tools > Developer Tools > Developer Toolbox. It will prompt you to allow remote debugging, press "OK". (I suspect it's using Firefox's remote debugging console.)

  2. I grabbed the following code from markdown-here source. Copy and paste it into the entry field (bottom of the "Console" tab):

                var windowMediator = Components.classes['@mozilla.org/appshell/window-mediator;1']
                                               .getService(Components.interfaces.nsIWindowMediator);
                var optionsUrl = 'resource://markdown_here_common/options.html';
                if (navigator.userAgent.indexOf('Thunderbird') >= 0 ||
                    navigator.userAgent.indexOf('Icedove') >= 0) {
                    windowMediator.getMostRecentWindow('mail:3pane')
                                  .document.getElementById('tabmail')
                                  .openTab('contentTab', {contentPage: optionsUrl});
                }

Don't mis-understand me: there is definitely a bug, and I've seen no activity from @adam-p in a while, but this allows me to at least access the MDH configuration.

(Win10-x64, TB 52.0b4 (32-bit), MDH 2.12.0)

@adam-p
Copy link
Owner

adam-p commented May 13, 2017

Duplicate of #369 (which will be closed soon).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants