## any way to disable jsMath ?

Need the mods or admins to do something for you? Post here. Read the "About" post first.

Moderators: Moderators General, Magistrates, Prelates

### any way to disable jsMath ?

it keeps freezing my browser
makc

Posts: 181
Joined: Mon Nov 02, 2009 12:26 pm UTC

### Re: any way to disable jsMath ?

A common problem. You can tweak it a bit through the jsmath control panel, but I don't think there's any way to disable it entirely.
There was also a large horse in the room, taking up most of it.
Lazar

Posts: 1153
Joined: Tue Dec 29, 2009 11:49 pm UTC
Location: Massachusetts

### Re: any way to disable jsMath ?

I just tried to block jsMath using following PAC file:
Code: Select all
function FindProxyForURL(url, host) {   // block http://forums.xkcd.com/jsMath/easy/load.js   if (url.indexOf ("jsMath") > -1) {      // non-existing proxy      return "PROXY 127.0.0.1:8080";   }   // no proxy for everything else   return "DIRECT";}
This does have an effect, because I can no longer download jsMath/easy/load.js BUT xkcd pages with jsMath still freeze
makc

Posts: 181
Joined: Mon Nov 02, 2009 12:26 pm UTC

### Re: any way to disable jsMath ?

oh wait now I can, again, although I just tested it... edit: looks like IE inherits proxy settings from the page where this is linked from. I can open new IE window, try jsMath script URL directly, and it fails; then I go to this thread and click on the link - and it loads. Fuсk IE! Looks like I need some sort of ad block plugin.
makc

Posts: 181
Joined: Mon Nov 02, 2009 12:26 pm UTC

### Re: any way to disable jsMath ?

Is it possible to make it stop freezing the browser, then? For me, the problem only happens with non-inline math.
Praised be the nightmare, which reveals to us that we have the power to create hell.

Naurgul

Posts: 623
Joined: Mon Jun 16, 2008 10:50 am UTC
Location: Amsterdam, The Netherlands

### Re: any way to disable jsMath ?

ok, this thing has finally done it for me. I am happy now, unsubscribing
makc

Posts: 181
Joined: Mon Nov 02, 2009 12:26 pm UTC

### Re: any way to disable jsMath ?

If you "force asynchronous processing" in the jsmath control panel it should stop locking up for you.
ameretrifle wrote:Magic space feudalism is therefore a viable idea.

jestingrabbit

Posts: 5187
Joined: Tue Nov 28, 2006 9:50 pm UTC
Location: Sydney

### Re: any way to disable jsMath ?

Spoiler:
(\forall\iota\in I)(\kappa_\iota<\lambda_\iota)\ \Longrightarrow\ \sum_{\iota\in I}\kappa_\iota < \prod_{\iota\in I}\lambda_\iota

jestingrabbit wrote:If you "force asynchronous processing" in the jsmath control panel it should stop locking up for you.
Thanks, it worked.
Last edited by Naurgul on Tue May 18, 2010 5:51 pm UTC, edited 1 time in total.
Praised be the nightmare, which reveals to us that we have the power to create hell.

Naurgul

Posts: 623
Joined: Mon Jun 16, 2008 10:50 am UTC
Location: Amsterdam, The Netherlands

### Re: any way to disable jsMath ?

Also, save your settings for a nice long time (the max is 5 years it looks like). Otherwise, you'll soon see the same problem again. Took me a while to realize that setting was there in the options panel.
Derailed : Gaming Outside the Box.
SexyTalon wrote:*swoons* I love you, all powerful pseudoidiot!
ShootTheChicken wrote:I can't stop thinking about pseudoidiot's penis.

pseudoidiot
hookers and blow

Posts: 4615
Joined: Mon Apr 21, 2008 9:30 pm UTC
Location: Kansas City

### Re: any way to disable jsMath ?

Thanks for the heads up. The default option is for one session only.
Praised be the nightmare, which reveals to us that we have the power to create hell.

Naurgul

Posts: 623
Joined: Mon Jun 16, 2008 10:50 am UTC
Location: Amsterdam, The Netherlands

### Re: any way to disable jsMath ?

I know not everybody will have the ability to do this but if you download the jsmath fonts the pages load significantly faster.
double epsilon = -.0000001;

Dason

Posts: 1264
Joined: Wed Dec 02, 2009 7:06 am UTC
Location: ~/

### Re: any way to disable jsMath ?

makc wrote:ok, this thing has finally done it for me. I am happy now, unsubscribing
right, but now this thing started to ask for moneys, so I'm back here
jestingrabbit wrote:If you "force asynchronous processing" in the jsmath control panel it should stop locking up for you.
Although working for NAurgul, in my IE7 browser it does not help, the only change I have is clicking sound during browser lock-up. I guess I will have to visit xkcd in old FF 2.x (which is slow as hell, but jsmath doesnt work there, so it's faster than IE7 with working jsmath).
makc

Posts: 181
Joined: Mon Nov 02, 2009 12:26 pm UTC

### Re: any way to disable jsMath ?

makc wrote:...but jsmath doesnt work there...
crap... it DOES And I can't get working adblock for such an old FF. Royally skrewed Fuсk. I'm deleting this old piece of crap (FF).

edit: YAY! Finally, FF 3.x + Adblock Plus, rule /jsMath/ - bliss, again
makc

Posts: 181
Joined: Mon Nov 02, 2009 12:26 pm UTC

### Re: any way to disable jsMath ?

The easiest way is to switch to one of the subsilver variants, neither of which have the jsmath script implemented. Of course, this makes parts of the maths forum unreadable, but there is a price for everything.
Lost Greatest Silent Baby X Y Z. "There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."

Red Hal
Magically Delicious

Posts: 1067
Joined: Wed Nov 28, 2007 2:42 pm UTC

### Re: any way to disable jsMath ?

Dason wrote:I know not everybody will have the ability to do this but if you download the jsmath fonts the pages load significantly faster.

There are a ton of them, It's irritating to stick 25 fonts just to make a forum faster.

tastelikecoke

Posts: 1118
Joined: Mon Feb 01, 2010 7:58 am UTC
Location: Antipode of Brazil

### Re: any way to disable jsMath ?

FWIW, jsMath used to work fine on my home machine, a year or so ago, but these days it can't find all the fonts. I agree with tasteslikecoke that it's a PITA to have to DL & install them all separately. And on my work machine, I can't install anything, so that's not an option.

But I do have a "workaround": select the asynchronous processing option, and when you load a thread that has LaTex that you don't wish to view, hit the ESC key a few times, and it'll stop doing the jsMath. This speeds up things considerably, IME.

PM 2Ring

Posts: 2593
Joined: Mon Jan 26, 2009 3:19 pm UTC
Location: Mid north coast, NSW, Australia

### Re: any way to disable jsMath ?

You can easily set up a filter using something like adblock. It should be available (in one form or another) for all the major browsers. Just set up a filter to block any url containing "jsMath", and problem solved.
roband wrote:Mav is a cow.

UniJam 2012: Inter-university Games Jam hosted by Nottingham Trent University DevSoc.
nlug: Nottingham Linux User Group
DevSoc: The Nottingham Trent University Software Development Society

The Black Hand

Posts: 1030
Joined: Tue Feb 12, 2008 11:40 am UTC
Location: Somewhere only we know

### Re: any way to disable jsMath ?

The "force asynchronous processing" thing seems to mostly fix the problem for me. (Even though I have no idea what the hell asynchronous processing is.)
There was also a large horse in the room, taking up most of it.
Lazar

Posts: 1153
Joined: Tue Dec 29, 2009 11:49 pm UTC
Location: Massachusetts

### Re: any way to disable jsMath ?

my guess is that it either tells it to load the page then process maths, or forces it to be multithreaded.

and yes, asynchronous processing works
"s/god/flying spaghetti monster/"

hintss

Posts: 1294
Joined: Wed Nov 25, 2009 7:19 am UTC