I have made some changes in a website using lots of modules, and now there is a content type which blocks browser as soon as I try to see it. Anybody knows a extension to enable scripts one by one? or any other way to find it?
I use the Firefox browser with Firebug, and it allows you to step through scripts. Most other browsers have similar developer tools.
Joel
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Lluís Forns Sent: Monday, August 27, 2012 6:34 AM To: support@drupal.org Subject: [support] help finding javascript problem
I have made some changes in a website using lots of modules, and now there is a content type which blocks browser as soon as I try to see it. Anybody knows a extension to enable scripts one by one? or any other way to find it?
-- *Ser freak no és imprescindible per ser informàtic, però ajuda. *La vida no ha de ser feliç, ha de ser plena. *Abans d'imprimir aquest missatge, pensa en el medi ambient. -- [ Drupal support list | http://lists.drupal.org/ ]
I use firebug, my problem is that as soon as I open the node, the browser freezes. If I dissable javascript it loads, but I cannot debug it with firebug.
I think the problem is a loop eating all the memory, but I am unable to find it. If there was a way to block just one script, I could find which one is causing problems and check all the code.
2012/8/27 Joel Willers joel.willers@sigler.com:
I use the Firefox browser with Firebug, and it allows you to step through scripts. Most other browsers have similar developer tools.
Joel
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Lluís Forns Sent: Monday, August 27, 2012 6:34 AM To: support@drupal.org Subject: [support] help finding javascript problem
I have made some changes in a website using lots of modules, and now there is a content type which blocks browser as soon as I try to see it. Anybody knows a extension to enable scripts one by one? or any other way to find it?
-- *Ser freak no és imprescindible per ser informàtic, però ajuda. *La vida no ha de ser feliç, ha de ser plena.
*Abans d'imprimir aquest missatge, pensa en el medi ambient.
[ Drupal support list | http://lists.drupal.org/ ]
[ Drupal support list | http://lists.drupal.org/ ]
I "solved" half of the problem adding
debugger;
to every js file loaded by the web. Now I know which file is causing my problems so I can check it with firebug/javascpt debugger
2012/8/28 Lluís Forns enboig@gmail.com:
I use firebug, my problem is that as soon as I open the node, the browser freezes. If I dissable javascript it loads, but I cannot debug it with firebug.
I think the problem is a loop eating all the memory, but I am unable to find it. If there was a way to block just one script, I could find which one is causing problems and check all the code.
2012/8/27 Joel Willers joel.willers@sigler.com:
I use the Firefox browser with Firebug, and it allows you to step through scripts. Most other browsers have similar developer tools.
Joel
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Lluís Forns Sent: Monday, August 27, 2012 6:34 AM To: support@drupal.org Subject: [support] help finding javascript problem
I have made some changes in a website using lots of modules, and now there is a content type which blocks browser as soon as I try to see it. Anybody knows a extension to enable scripts one by one? or any other way to find it?
-- *Ser freak no és imprescindible per ser informàtic, però ajuda. *La vida no ha de ser feliç, ha de ser plena.
*Abans d'imprimir aquest missatge, pensa en el medi ambient.
[ Drupal support list | http://lists.drupal.org/ ]
[ Drupal support list | http://lists.drupal.org/ ]
-- *Ser freak no és imprescindible per ser informàtic, però ajuda. *La vida no ha de ser feliç, ha de ser plena. *Abans d'imprimir aquest missatge, pensa en el medi ambient.
OK. Try this next.
In Firefox on the offending page, right click and then click 'Save Page As'
Select the whole of the page - everything - and then save that to to your local machine.
This should grab you all the files, including the JS to you machine.
You can then make a copy and try to remove the JS one at a time, or remove them all and add one at a time back, by editing the raw html code.
You should then be able to find the JS that is messing things up for you, if it is JS code.
Keith
On Tue, 28 Aug 2012, Lluís Forns wrote:
To: support@drupal.org From: Lluís Forns enboig@gmail.com Subject: Re: [support] help finding javascript problem
I use firebug, my problem is that as soon as I open the node, the browser freezes. If I dissable javascript it loads, but I cannot debug it with firebug.
I think the problem is a loop eating all the memory, but I am unable to find it. If there was a way to block just one script, I could find which one is causing problems and check all the code.
2012/8/27 Joel Willers joel.willers@sigler.com:
I use the Firefox browser with Firebug, and it allows you to step through scripts. Most other browsers have similar developer tools.
Joel
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of Lluís Forns Sent: Monday, August 27, 2012 6:34 AM To: support@drupal.org Subject: [support] help finding javascript problem
I have made some changes in a website using lots of modules, and now there is a content type which blocks browser as soon as I try to see it. Anybody knows a extension to enable scripts one by one? or any other way to find it?
-- *Ser freak no és imprescindible per ser informàtic, però ajuda. *La vida no ha de ser feliç, ha de ser plena.
*Abans d'imprimir aquest missatge, pensa en el medi ambient.
[ Drupal support list | http://lists.drupal.org/ ]
[ Drupal support list | http://lists.drupal.org/ ]