MartinPacker 2 Posted November 27, 2010 Share Posted November 27, 2010 Am using Evernote 4.0.0.106602 on Firefox (actually Mozilla/5.0 (X11; Linux i686; rv:2.0b8pre) Gecko/20101126 Firefox/4.0b8pre).Webclipper is failing. Now, you might say the above Firefox level is unsupported. Fair enough but the Firefox Error Consols suggests the problem isn't with Firefox:Error: conten is not definedSource File: chrome://webclipper3-common/content/libs/evernote/overlay.jsLine: 27In lines 26 to 28 we have: if (typeof content.console != 'undefined') { console = conten.console; } else {which COULD be corruption of the extension but looks like a typo.I'm also not sure the test in line 26 is the compactest. :-)Someone please corroborate / investigate.Thanks, Martin Link to comment
engberg 89 Posted November 30, 2010 Share Posted November 30, 2010 Thanks for the report, I've passed this along to engineering. Link to comment
MartinPacker 2 Posted November 30, 2010 Author Share Posted November 30, 2010 Thanks, Dave!Looking at the code a tiny bit more I suspect this path is only encountered when something has ALREADY gone wrong, necessitating writes to the console. But obviously you'd still want that to work. Link to comment
sirikan 1 Posted January 10, 2011 Share Posted January 10, 2011 I had a bit of a play.I fixed the typo you mentioned above and it wrote the error message to the error console.Issue appears to be in WinMozillaNativeClipperImpl.js.I put try error trapping around the method on line 22 as the line highlighted below generates a exception and doesn't exit gracefully.With this fix it falls back to the web clipper but it is a little bit better then using the bookmarklet.Evernote.WinMozillaNativeClipperImpl.prototype.isSupported = function() { // make sure Evernote is installed try { var enClipper = Components.classes["@Evernote/WebClipper3;1"].createInstance(Components.interfaces.IWebClipper3); if(enClipper == null) { return false; } return enClipper.IsEvernoteInstalled(); } catch { } return false;}; Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.