Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...with companys cutting back on training, lack of true support by makers of software, the forums are a great tool in your cyber-toolbox...."

Geography

Where in the world do Tek-Tips members come from?
mmerlinn (Programmer)
10 Feb 12 10:57
For some reason Javascript is not working.

I have verified that Javascript is turned on in Tools > Options > Content.

Is there any other location in FF that controls whether JS is on or off?  Or is this a Windows issue?  If so, where do I look?

Until recently everything worked fine.  I have not added nor changed any programs in ages, so I believe I can safely rule any conflicts out because of that.

Using FF on Windows XP.

mmerlinn

http://mmerlinn.com

Poor people do not hire employees.  If you soak the rich, who are you going to work for?

"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond

mmerlinn (Programmer)
10 Feb 12 11:28
I verified that the setting is correct in about:config as shown in the c&p copy below:

javascript.enabled;true

 

mmerlinn

http://mmerlinn.com

Poor people do not hire employees.  If you soak the rich, who are you going to work for?

"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond

feherke (Programmer)
12 Feb 12 8:32
Hi

Quote (mmerlinn):

Javascript is not working.
How do you know that ? ( Sorry, had to ask it. I just saw too many misdiagnosed bug reports. )

For example, are you sure not the AdBlock Plus rules were updated automatically and some of them now block trustworthy scripts too ?

Is the problem the same when started with -safe-mode option or after Help | Restart with Add-ons Disabled... command ?
 

Feherke.
http://feherke.github.com/

mmerlinn (Programmer)
12 Feb 12 10:20
I know it because the JS on my legacy website (mmerlinn.com) does not work here, but does work elsewhere.  I have no outside content on my site, so nothing should interfere with the JS.

I have no idea where to check the Adblock Plus rules.

I did not check safe mode nor with Add-ons disabled.  I know how to do safe mode, but I have no clue how to disable add-ons on a PC.

mmerlinn

http://mmerlinn.com

Poor people do not hire employees.  If you soak the rich, who are you going to work for?

"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond

Helpful Member!  feherke (Programmer)
12 Feb 12 10:42
Hi

Quote (mmerlinn):

does work elsewhere
I would still correct the script first :

CODE --> FireFox Error Console

- missing ; before statement
http://mmerlinn.com/js/JSMain.js
Line: 183
defaultblurb[106] = "Left uncontrolled, "designers" can ...
-----------------------------------------^

- Writeheader is not defined
http://mmerlinn.com/catalog/makeridx.htm
Line: 46

Quote (mmerlinn):

I have no idea where to check the Adblock Plus rules.
  • All rules : Tols | Adblock Plus | Filter preferences...
  • Currently applied rules in red : Tols | Adblock Plus | Open blockable items ( Ctrl-Shift-V )

Quote (mmerlinn):

I know how to do safe mode, but I have no clue how to disable add-ons on a PC.
Only that : start in safe mode. Add-ons will be disabled for that session.

But I suppose this debugging step will not be needed after you fix the script.

Feherke.
http://feherke.github.com/

mmerlinn (Programmer)
13 Feb 12 3:24

CODE

-  missing ; before statement
http://mmerlinn.com/js/JSMain.js
Line: 183
defaultblurb[106] = "Left uncontrolled, "designers" can ...
-----------------------------------------^

The whole problem was double quotes within double quotes.

I added that string literal to my FoxPro database last week without thinking about the possible quote problem when FoxPro outputs the JS file to the internet.  Now I see that I must add a function to FoxPro to check for quotes before generating the JS file and, if any are found, change them to single quotes.

Thanks for the help.  This was driving me nuts.  

mmerlinn

http://mmerlinn.com

Poor people do not hire employees.  If you soak the rich, who are you going to work for?

"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond

mmerlinn (Programmer)
13 Feb 12 3:29
I just checked in the Tools dropdown - There is no Adblock Plus option there.

mmerlinn

http://mmerlinn.com

Poor people do not hire employees.  If you soak the rich, who are you going to work for?

"We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding. Answering questions for careless and sloppy thinkers is not rewarding." - Eric Raymond

feherke (Programmer)
13 Feb 12 3:38
Hi

Quote (mmerlinn):

There is no Adblock Plus option there.
Well, then you have no AdBlock Plus installed. Anyway, was just a hint before seeing the actual code. ( Was only a possible explanation to something that changed without installing anything yourself. )
 

Feherke.
http://feherke.github.com/

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close