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 ?

Postby makc » Mon May 17, 2010 8:28 am UTC

it keeps freezing my browser :(
makc
 
Posts: 181
Joined: Mon Nov 02, 2009 12:26 pm UTC

Re: any way to disable jsMath ?

Postby Lazar » Mon May 17, 2010 8:33 am UTC

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 ?

Postby makc » Mon May 17, 2010 9:33 am UTC

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 ?

Postby makc » Mon May 17, 2010 9:34 am UTC

makc wrote:I can no longer download jsMath/easy/load.js
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 ?

Postby Naurgul » Mon May 17, 2010 10:10 am UTC

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.
User avatar
Naurgul
 
Posts: 623
Joined: Mon Jun 16, 2008 10:50 am UTC
Location: Amsterdam, The Netherlands

Re: any way to disable jsMath ?

Postby makc » Mon May 17, 2010 10:23 am UTC

ok, this thing has finally done it for me. I am happy now, unsubscribing :P
makc
 
Posts: 181
Joined: Mon Nov 02, 2009 12:26 pm UTC

Re: any way to disable jsMath ?

Postby jestingrabbit » Mon May 17, 2010 11:10 am UTC

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.
User avatar
jestingrabbit
 
Posts: 5187
Joined: Tue Nov 28, 2006 9:50 pm UTC
Location: Sydney

Re: any way to disable jsMath ?

Postby Naurgul » Mon May 17, 2010 3:21 pm UTC

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. :D
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.
User avatar
Naurgul
 
Posts: 623
Joined: Mon Jun 16, 2008 10:50 am UTC
Location: Amsterdam, The Netherlands

Re: any way to disable jsMath ?

Postby pseudoidiot » Mon May 17, 2010 3:37 pm UTC

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.
User avatar
pseudoidiot
hookers and blow
 
Posts: 4615
Joined: Mon Apr 21, 2008 9:30 pm UTC
Location: Kansas City

Re: any way to disable jsMath ?

Postby Naurgul » Mon May 17, 2010 4:32 pm UTC

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.
User avatar
Naurgul
 
Posts: 623
Joined: Mon Jun 16, 2008 10:50 am UTC
Location: Amsterdam, The Netherlands

Re: any way to disable jsMath ?

Postby Dason » Mon May 17, 2010 5:25 pm UTC

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;
User avatar
Dason
 
Posts: 1264
Joined: Wed Dec 02, 2009 7:06 am UTC
Location: ~/

Re: any way to disable jsMath ?

Postby makc » Mon May 17, 2010 9:51 pm UTC

makc wrote:ok, this thing has finally done it for me. I am happy now, unsubscribing :P
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 ?

Postby makc » Mon May 17, 2010 10:17 pm UTC

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

edit: YAY! Finally, FF 3.x + Adblock Plus, rule /jsMath/ - bliss, again :D
makc
 
Posts: 181
Joined: Mon Nov 02, 2009 12:26 pm UTC

Re: any way to disable jsMath ?

Postby Red Hal » Mon May 31, 2010 10:24 am UTC

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..."
User avatar
Red Hal
Magically Delicious
 
Posts: 1067
Joined: Wed Nov 28, 2007 2:42 pm UTC
Location: IO85IV76SK09(Maidenhead), 30UVG8319695195(MGRS), MKML43875411(Georef)

Re: any way to disable jsMath ?

Postby tastelikecoke » Thu Jun 10, 2010 9:37 am UTC

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.
User avatar
tastelikecoke
 
Posts: 1118
Joined: Mon Feb 01, 2010 7:58 am UTC
Location: Antipode of Brazil

Re: any way to disable jsMath ?

Postby PM 2Ring » Mon Jul 12, 2010 6:09 pm UTC

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.
User avatar
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 ?

Postby RoadieRich » Thu Jul 15, 2010 12:31 am UTC

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
User avatar
RoadieRich
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 ?

Postby Lazar » Thu Jul 15, 2010 1:15 am UTC

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 ?

Postby hintss » Thu Jul 15, 2010 8:48 am UTC

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 :D
"s/god/flying spaghetti monster/"
User avatar
hintss
 
Posts: 1294
Joined: Wed Nov 25, 2009 7:19 am UTC


Return to Site/Forum issues

Who is online

Users browsing this forum: No registered users and 9 guests