X
Tap here to go to the mobile version of the site.

Support Forum

Javascript causing crashes

Posted

I've been troubleshooting for issues of Firefox hanging. It is primarily with one location, full of media content: http://www.theguardian.com/au

First, I closed some windows with many tabs, which didn't help. I followed instructions for increasing speed by changing settings for pipelining, which did not seem to help. I started to, but did not, change places settings. Also looked at suggestions re shockwave, but do not think I followed any.

Then I downloaded YesScript. This has solved the loading/hanging problem. But it has also made viewing comments in their normal presentation impossible. Even when I turn YS off, the comments do not load in a useful way.

Since it now appears that my primary problem is due to javascript, is there any other way I can rectify the problem? Thanks.

I've been troubleshooting for issues of Firefox hanging. It is primarily with one location, full of media content: http://www.theguardian.com/au First, I closed some windows with many tabs, which didn't help. I followed instructions for increasing speed by changing settings for pipelining, which did not seem to help. I started to, but did not, change places settings. Also looked at suggestions re shockwave, but do not think I followed any. Then I downloaded YesScript. This has solved the loading/hanging problem. But it has also made viewing comments in their normal presentation impossible. Even when I turn YS off, the comments do not load in a useful way. Since it now appears that my primary problem is due to javascript, is there any other way I can rectify the problem? Thanks.

Modified by maveet

Chosen solution

I'm closing this question. Problem seems solved. Minor slow-downs continue, but nothing like the hanging problems of earlier. If I get annoyed enough, I'll go through the extensions at a later date. Thanks for your help.

Read this answer in context 0

Additional System Details

Installed Plug-ins

  • Provides information about the default web browser
  • The QuickTime Plugin allows you to view a wide variety of multimedia content in web pages. For more information, visit the QuickTime Web site.
  • RealPlayer Plugin
  • Shockwave Flash 20.0 r0
  • Adobe Shockwave for Director Netscape plug-in, version 12.2.2
  • iPhoto6

Application

  • Firefox 43.0.4
  • User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:43.0) Gecko/20100101 Firefox/43.0
  • Support URL: https://support.mozilla.org/1/firefox/43.0.4/Darwin/en-US/

Extensions

  • Adblock Plus 2.7 ({d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d})
  • All Tabs Helper 0.2.21.1-let-fixed (alltabshelper@alltabshelper.org)
  • All-in-One Sidebar 0.7.28 ({097d3191-e6fa-4728-9826-b533d755359d})
  • BarTab Heavy 3.2.1.1-signed (bartabheavy@philikon.de)
  • ciffix 0.36.1-signed (jid1-OTaOelStPduFQg@jetpack)
  • Copy Plain Text 2 1.4 (copyplaintext@teo.pl)
  • Copy Urls Expert 2.4.0 (copy-urls-expert@kashiif-gmail.com)
  • Dictionary Extension 3.0.12.1.1-signed (jid0-raWjElI57dRa4jx9CCiYm5qZUQU@jetpack)
  • Dictionary Lookup Extension 2.1.1-signed ({f01f4cbe-b8a8-4c37-94b3-119d8779e7e0})
  • Direct Currency Converter 2.4.2+0.1-let-fixed (dcc@joint.ax)
  • disable tabs on top 1.0.rev4.1-signed (jid0-8BcAEG0VWp64q8wcJaRBq7N33PM@jetpack)
  • Double Click Closes Tab 0.27.1-signed (dcct@mingyi.org)
  • Drag-Select Link Text 1.3.1-signed (dragselectlinktext@kestrel)
  • Easy Copy 2.7.0 (easycopy@smokyink.com)
  • Ecosia — The search engine that plants trees! 3.4.2 ({d04b0b40-3dab-4f0b-97a6-04ec3eddbfb0})
  • FoxyTab 1.3.1-signed (foxytab@eros.man)
  • Hugo Search All Tabs 0.1.10 (hludwig@kevinallasso.org)
  • Link Gopher 1.3.3.1-signed (linkgopher@oooninja.com)
  • Link Toggler 0.3.1-signed ({CFC31648-F870-11DF-80F3-9B4EDFD72085})
  • Load Control 0.3.1-signed (loadcontrol@mcphate.org)
  • Modify Headers 0.7.1.1.1-signed ({b749fc7c-e949-447f-926c-3f4eed6accfe})
  • New tab toolbar button 1.1.1-signed ({42975993-6fa0-46f5-a45f-706915f18ebf})
  • NoSquint 2.1.9.1-signed (nosquint@urandom.ca)
  • Page Zoom Button 1.4.1.1-signed (54c7d9671b9eccd9e5686a73df34ab60@button.codefisher.org)
  • Privacy Badger 1.0.5 (jid1-MnnxcxisBPnSXQ@jetpack)
  • QuickWiki 1.1.3.1-signed ({EE223D7A-F30F-11DD-8F0A-D2AD55D89593})
  • Reader 43.2 ({20068ab2-1901-4140-9f3c-81207d4dacc4})
  • Resurrect Pages 3 ({0c8fbd76-bdeb-4c52-9b24-d587ce7b9dc3})
  • Roomy Bookmarks Toolbar 1.4.11 (ALone-live@ya.ru)
  • Save My Tabs 0.53.1-signed (savemytabs@dmitriy.khudorozhkov)
  • SaveAll! 0.5.1-signed (saveall@ns.ba)
  • Self-Destructing Cookies 0.4.9 (jid0-9XfBwUWnvPx4wWsfBWMCm4Jj69E@jetpack)
  • Session Manager 0.8.1.8 ({1280606b-2510-4fe0-97ef-9b5a22eafe30})
  • SmoothWheel (AMO) 0.45.8.20130519.3.1-signed ({5F590AA2-1221-4113-A6F4-A4BB62414FAC})
  • SNPTips 1.1.1-signed (snptips@5amsolutions.com)
  • Status-4-Evar 2015.11.16.23.1-signed.1-let-fixed (status4evar@caligonstudios.com)
  • storeTab 1.1.1-signed (nicktco@gmail.com)
  • Tab Groups Helper 0.3.9 (tabgroupshelper@kevinallasso.org)
  • Tab History Menu 2.1.1.1-signed ({9c491c49-071c-4039-98a5-66d3fe53b1b2})
  • Tabs on Bottom (Australis) 1.2.0 (jid1-OesGFwaQGIBASw@jetpack)
  • The Addon Bar (restored) 3.2.1-signed (the-addon-bar@GeekInTraining-GiT)
  • Toolbar Buttons 1.1.1-signed ({03B08592-E5B4-45ff-A0BE-C1D975458688})
  • YesScript 2.1.1-signed (yesscript@userstyles.org)
  • Amazon Assistant for Firefox 10.1512.23.2059 (abb@amazon.com) (Inactive)
  • AVG LinkScanner 12.0.1817 (linkscanner@avg.com) (Inactive)
  • Blur 5.3.1983 (donottrackplus@abine.com) (Inactive)
  • ChromEdit Plus 2.9.10 (chromeditplus@webdesigns.ms11.net) (Inactive)
  • Cleanest Addon Manager 7.0.1-signed (cam@sdrocking.com) (Inactive)
  • Close Tabs to the Right 0.1.9.1-signed (closetabstotheright@4kwh.net) (Inactive)
  • DivX Plus Web Player HTML5 <video> 2.1.2.145 ({23fcfd51-4958-4f00-80a3-ae97e717ed8b}) (Inactive)
  • Facebook Disconnect 2.1.3.1-signed (facebook@disconnect.me) (Inactive)
  • Locko 1.1 (jid1-BSgu6vpQhPw7gQ@jetpack) (Inactive)
  • MEGA 3.3.2 (firefox@mega.co.nz) (Inactive)
  • Multiple Tab Handler 0.8.2015113001 (multipletab@piro.sakura.ne.jp) (Inactive)
  • MyEmoticons 1.6.1 (myemoticons@myemoticons.com) (Inactive)
  • NO Google Analytics 0.6.1-signed (jid1-JcGokIiQyjoBAQ@jetpack) (Inactive)
  • Open Link in Silent Tab 0.2.5.1-signed ({d4c46ca0-999d-11da-a72b-0800200c9a66}) (Inactive)
  • Readable and Closable Tabs 0.3.1-signed (readable-closable-tabs@benjamin.smedbergs.us) (Inactive)
  • samfind Bookmarks Bar 2.2.9.1-signed.1-let-fixed (sam@samfind.com) (Inactive)
  • SCs Currency Converter 0.9.0 (scscurrencyconverter@sarics) (Inactive)
  • Searchme 2.8 (searchme@mybrowserbar.com) (Inactive)
  • Simple Timer 2.0.3.1-signed (simpletimer@grbradt.org) (Inactive)
  • Smartest Bookmarks Bar 1.11 ({b442f4c0-c292-4998-aabe-48608a73ba75}) (Inactive)
  • Tab Mix Plus 0.4.2.0 ({dc572301-7619-498c-a57d-39143191b318}) (Inactive)
  • Tab To Window 1.2.9.1-signed (tabtowindow@sogame.cat) (Inactive)
  • TrashMail.com 2.7.1.1-signed (spam@trashmail.net) (Inactive)
  • Twitter Disconnect 2.1.2.1-signed (twitter@disconnect.me) (Inactive)
  • Undo Closed Tabs Button 3.9.8 (undoclosedtabsbutton@supernova00.biz) (Inactive)

Javascript

  • incrementalGCEnabled: True

Graphics

  • adapterDescription:
  • adapterDeviceID: 0x0a2e
  • adapterDrivers:
  • adapterRAM:
  • adapterVendorID: 0x8086
  • driverDate:
  • driverVersion:
  • info: {u'AzureContentBackend': u'quartz', u'AzureCanvasBackend': u'skia', u'AzureFallbackCanvasBackend': u'none', u'AzureSkiaAccelerated': 0}
  • numAcceleratedWindows: 0
  • numAcceleratedWindowsMessage: [u'']
  • numTotalWindows: 7
  • supportsHardwareH264: No;
  • webglRenderer: Intel Inc. -- Intel Iris OpenGL Engine
  • windowLayerManagerRemote: False
  • windowLayerManagerType: Basic

Modified Preferences

Misc

  • User JS: No
  • Accessibility: No

Question owner

Disregard. Edited above to include what was added here.

Disregard. Edited above to include what was added here.

Modified by maveet

FredMcD
  • Top 10 Contributor
4222 solutions 58918 answers

Make sure your Java (Not JavaScript) is up to date Verify Java and Find Out-of-Date Versions {web link}

Version 8 Update 66 Release date November 16, 2015 http://java.com/en/download/manual.jsp

https://java.com/en/download/help/ Java Help Center


Start Firefox in Safe Mode {web Link} by holding down the <Shift>
(Mac=Options)
key, and then starting Firefox. Is the problem still there?

Make sure your Java (Not JavaScript) is up to date '''[http://java.com/en/download/installed.jsp Verify Java and Find Out-of-Date Versions]''' {web link} Version 8 Update 66 Release date November 16, 2015 http://java.com/en/download/manual.jsp https://java.com/en/download/help/ Java Help Center ------------- Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift><br> ''(Mac=Options)'' ''' key, and then starting Firefox. Is the problem still there?

Question owner

Thank you Fred. This appears to have solved the problem. I remember getting rid of java some time ago, thought I'd only downloaded it for a particular task, and didn't need it. ha. Very happy to have these pages loading without a glitch. :-)

Thank you Fred. This appears to have solved the problem. I remember getting rid of java some time ago, thought I'd only downloaded it for a particular task, and didn't need it. ha. Very happy to have these pages loading without a glitch. :-)

Question owner

Unfortunately, I'm again having problems, hanging while loading. Any idea what I should try next? thanks

Unfortunately, I'm again having problems, hanging while loading. Any idea what I should try next? thanks
FredMcD
  • Top 10 Contributor
4222 solutions 58918 answers

Have you checked the Java Help Center?

Have you checked the Java Help Center?
cor-el
  • Top 10 Contributor
  • Moderator
17413 solutions 157281 answers

You can check for problems with preferences.

Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in current Firefox releases.


Start Firefox in Safe Mode to check if one of the extensions (Firefox menu button/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox menu button/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window
You can check for problems with preferences. Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in current Firefox releases. *http://kb.mozillazine.org/Preferences_not_saved *http://kb.mozillazine.org/Resetting_preferences ---- Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox menu button/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem. *Switch to the DEFAULT theme: Firefox menu button/Tools > Add-ons > Appearance *Do NOT click the Reset button on the Safe Mode start window *https://support.mozilla.org/kb/Safe+Mode *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

Question owner

FredMcD said

Have you checked the Java Help Center?

Thanks. I just went there, looked at my plug-ins, and Java was set on 'Ask to Activate'. I changed it to always activate, will see if this does the trick.

cor-el [[#answer-831908] Thank you. if the above does not work, I'll follow your suggestions.

''FredMcD [[#answer-831907|said]]'' <blockquote> Have you checked the Java Help Center? </blockquote> Thanks. I just went there, looked at my plug-ins, and Java was set on 'Ask to Activate'. I changed it to always activate, will see if this does the trick. ''cor-el [[#answer-831908]'' Thank you. if the above does not work, I'll follow your suggestions.

Modified by maveet

Question owner

  • I went to Java Help, and saw that my Java applet wasn't activated. I activated it, but this did not help.
  • I Disabled Add-ons. But this did not seem to show me anything.
  • I looked at my add-ons, and it looks like it would take forever to try turning each one off and checking for the problem. I chose the one I thought might be the most likely: Privacy Badger. But this has not changed anything, sitll hanging, I'm having to force-quit.
What else I've done:
  • Delete Duplicate Session Restore files
  • Turn off Hardware Acceleration

Can you advise which of the 2 procedures I'm listing below is the next best step? I haven't wanted to go deleting things until I'd done other possibilities. Is the 2nd one, cor-el's suggestion, going to reset all my style and extension preferences? so I have to load everything back in again?


In the Firefox profile folder, find and rename the files places.sqlite to places.sqlite.old and places.sqlite-journal to places.sqlite-journal.old (if it exists).

Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in current Firefox releases

I'm not finding these prefs, neither in my Finder (OSX), nor in about:config. In about:config I get the 2 lines I'm attaching as file. In Finder, I get a text doc, 2nd attachment.

ADD: I can't upload the Grab files. :-(

I must be missing something, probably something obvious. thanks for helping.

* I went to Java Help, and saw that my Java applet wasn't activated. I activated it, but this did not help. * I Disabled Add-ons. But this did not seem to show me anything. * I looked at my add-ons, and it looks like it would take forever to try turning each one off and checking for the problem. I chose the one I thought might be the most likely: Privacy Badger. But this has not changed anything, sitll hanging, I'm having to force-quit. What else I've done: * Delete Duplicate Session Restore files * Turn off Hardware Acceleration Can you advise which of the 2 procedures I'm listing below is the next best step? I haven't wanted to go deleting things until I'd done other possibilities. Is the 2nd one, cor-el's suggestion, going to reset all my style and extension preferences? so I have to load everything back in again? ''In the Firefox profile folder, find and rename the files places.sqlite to places.sqlite.old and places.sqlite-journal to places.sqlite-journal.old (if it exists).'' ''Delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in current Firefox releases'' I'm not finding these prefs, neither in my Finder (OSX), nor in about:config. In about:config I get the 2 lines I'm attaching as file. In Finder, I get a text doc, 2nd attachment. ADD: I can't upload the Grab files. :-( I must be missing something, probably something obvious. thanks for helping.

Question owner

This afternoon I installed places maintenance extension. It said no problems. But still, when I look in about:config, there is no places.sqlite.

This afternoon I installed [https://addons.mozilla.org/en-US/firefox/addon/places-maintenance/ places maintenance] extension. It said no problems. But still, when I look in about:config, there is no places.sqlite.
cor-el
  • Top 10 Contributor
  • Moderator
17413 solutions 157281 answers
  • If you have many extensions then first enable half of the extensions to test which half has the problem.
  • Continue to divide the bad half that still has the issue until you find which one is causing it.

places.sqlite and places.sqlite-shm and places.sqlite-wal are file in the Firefox profile folder and not prefs stored in prefs.js.

The point with (temporarily) renaming/moving or deleting files in the profile folder is to check for issues caused by specific data stored in this file. The prefs.js file stores setting that you make in Options/Preferences among other data.

*If you have many extensions then first enable half of the extensions to test which half has the problem. *Continue to divide the bad half that still has the issue until you find which one is causing it. places.sqlite and places.sqlite-shm and places.sqlite-wal are file in the Firefox profile folder and not prefs stored in prefs.js. The point with (temporarily) renaming/moving or deleting files in the profile folder is to check for issues caused by specific data stored in this file. The prefs.js file stores setting that you make in Options/Preferences among other data.

Question owner

In the Firefox profile folder, find and rename the files places.sqlite to places.sqlite.old and places.sqlite-journal to places.sqlite-journal.old (if it exists).

OK, found places.sqlite in pref folder, renamed .old. No other places. files.

No user js; no numbered prefs-##.js files;

rename (or delete) the prefs.js file I added .old.

That's enough for tonight, I'll be re-starting and see how it goees tomorrow.

Is it possible this is caused by too many tabs? I've read numerous references to hundreds of tabs, so I'm certainly not the only one. The bulk of my tabs are not loaded.

Thanks cor-el.

''In the Firefox profile folder, find and rename the files places.sqlite to places.sqlite.old and places.sqlite-journal to places.sqlite-journal.old (if it exists). '' OK, found places.sqlite in pref folder, renamed .old. No other places. files. No user js; no numbered prefs-##.js files; ''rename (or delete) the prefs.js file '' I added .old. That's enough for tonight, I'll be re-starting and see how it goees tomorrow. Is it possible this is caused by too many tabs? I've read numerous references to hundreds of tabs, so I'm certainly not the only one. The bulk of my tabs are not loaded. Thanks cor-el.

Question owner

So far, in my first attempts at AM news, this seems to have helped considerably, I was worried I'd lose all my settings, bookmark bar, but happily that's all intact. I'll leave this question open for the next day or so, see how it goes. Thanks.

So far, in my first attempts at AM news, this seems to have helped considerably, I was worried I'd lose all my settings, bookmark bar, but happily that's all intact. I'll leave this question open for the next day or so, see how it goes. Thanks.

Question owner

My problem seems almost fixed. I'm not needing to use YesScript for Guardian anymore, but am still having occasional slow-downs, hanging. Any suggestion of what I should do next? Go through all the extensions? Thanks for your help.

My problem seems almost fixed. I'm not needing to use YesScript for Guardian anymore, but am still having occasional slow-downs, hanging. Any suggestion of what I should do next? Go through all the extensions? Thanks for your help.

Modified by maveet

Chosen Solution

I'm closing this question. Problem seems solved. Minor slow-downs continue, but nothing like the hanging problems of earlier. If I get annoyed enough, I'll go through the extensions at a later date. Thanks for your help.

I'm closing this question. Problem seems solved. Minor slow-downs continue, but nothing like the hanging problems of earlier. If I get annoyed enough, I'll go through the extensions at a later date. Thanks for your help.