Active Topics

 



Notices


Reply
Thread Tools
natedog400's Avatar
Posts: 294 | Thanked: 62 times | Joined on Mar 2010
#1
Can someone explain to me (in plain english) what javascript pausing is in the browser settings? And what happens when i select 15, 30, no or immediatly? Whats the best one to select?
Thanks in advance..
Nath
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#2
Best one to select is "No", in my experience, unless you rarely visit pages that have Javascript on them. Good rule of thumb is, if you use Google Docs, GMail, or anything Google, Javascript pausing will make it suck.

Now, I do this with a slight annoyance because you can't get more 'plain' that "Pausing JavaScript" - either you know what Javascript is or you don't... but here goes:

JavaScript is a standard language used for making certain things happen on websites. Basically, there's HTML and CSS, which define how a page is laid out and looks, but doesn't change after being loaded unless you refresh the page. JavaScript is a way of telling the browser that loads the page to perform certain functions - usually create a pop-up yes/no/whatever window, or create a text-box on the screen when you press a button/link - stuff like that.

Anyway, JavaScript Pausing basically pauses the running of JavaScript - I presume it's meant to be a CPU/power saving feature - after a certain amount of time. So if you go to a website that has Javascript in it, your browser will continually check if the conditions in the script are true, and run it if it's something that loops/runs-constantly. This is how normal desktop browsers work, typically. Javascript pausing will simply stop/"pause" Javascript running after a certain amount of time. It's presumably supposed to then resume running Javascript when needed.

Sounds like a great idea, right? Well, it would be, except on sites that are javascript-heavy, like GMail, the browser screws it up, so the page basically ends up running abysmally slow, if it works at all.

Personally, I just leave it off. I don't think you'd ever noticeably make anything run better or with less battery drain by having it on. I certainly never noticed it having any advantage other than screwing up running some sites that actually depend on Javascript.
 

The Following 2 Users Say Thank You to Mentalist Traceur For This Useful Post:
Posts: 692 | Thanked: 264 times | Joined on Dec 2009
#3
I leave mine at 15secs and I haven't had any problems with Gmail, but I don't use any other Google web apps. Just keep in mind that if you disable it, any browser pages you leave running in the background are going to consume more processing power.
__________________
"Impossible is not in the Maemo vocabulary" - Caballero
 

The Following User Says Thank You to GameboyRMH For This Useful Post:
natedog400's Avatar
Posts: 294 | Thanked: 62 times | Joined on Mar 2010
#4
So if i select "no" that stops javascript pausing which allows sites with things that run on the page like on a desktop computer? Sounds like you get more of a desktop experience to me when disabled and thats always worth loosing a bit of power i say! I think i get it now Been bugging me since i got this phone
 
Posts: 5,335 | Thanked: 8,187 times | Joined on Mar 2007 @ Pennsylvania, USA
#5
Originally Posted by natedog400 View Post
Can someone explain to me (in plain english) what javascript pausing is in the browser settings?
That's actually covered by the User Guide on your N900:

Originally Posted by N900 User Guide
Allow JavaScript pausing - Suspend the use of Flash and JavaScript whenever the browser window is open in the background.
Note the "in the background" part.
__________________
maemo.org profile
 

The Following User Says Thank You to sjgadsby For This Useful Post:
Posts: 701 | Thanked: 585 times | Joined on Sep 2010 @ London, England
#6
Originally Posted by natedog400 View Post
So if i select "no" that stops javascript pausing which allows sites with things that run on the page like on a desktop computer? Sounds like you get more of a desktop experience to me when disabled and thats always worth loosing a bit of power i say! I think i get it now Been bugging me since i got this phone
A bit of power when you are using it may be okay, but if it runs when the phone is idle the extra CPU wakeups will eat into your standby time. With this set to "no" does it run when the screen is off?

I haven't had any Javascript problems with this set to the default 15 seconds, but I don't use Google services aside from search.
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#7
Those who don't have problems with GMail - we're talking full blown desktop GMail, right? Not semi-desktop GMail, not pure HTML GMail, not mobile, etc - just the full-bells-and-whistles gmail, with the built-in GTalk chat and everything else?

Anyway, I don't know about how much this 'in the background' thing is actually followed by the browser. If it's in the source code that's open, someone can pipe up, of course. In the meantime, all I can say is that when people have complained about desktop-version of GMail being slow, and I've recommended setting Allow Javascript Pausing to "No", they've come back saying it worked wonders. If someone really wants, we could probably look in to how well GMail works if you leave the window open the entire time, and/or what happens if you, say, press a button then switch to another window while it loads, or even background it for a second while checking on something else.
 
Posts: 692 | Thanked: 264 times | Joined on Dec 2009
#8
Originally Posted by Mentalist Traceur View Post
Those who don't have problems with GMail - we're talking full blown desktop GMail, right? Not semi-desktop GMail, not pure HTML GMail, not mobile, etc - just the full-bells-and-whistles gmail, with the built-in GTalk chat and everything else?
Yep that's right. But to access the full Gmail interface with MicroB, you have to go to:

https://mail.google.com/mail/?ui=2

Otherwise it will force you over to a mobile interface.
__________________
"Impossible is not in the Maemo vocabulary" - Caballero
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#9
Originally Posted by GameboyRMH View Post
Yep that's right. But to access the full Gmail interface with MicroB, you have to go to:

https://mail.google.com/mail/?ui=2

Otherwise it will force you over to a mobile interface.
Not anymore. At least, not for me. Keeping in mind that I was one of the first people effected by Google's initial redirect-MicroB-to-mobile-version implementation, and actually made a thread about it on here when it first hit, this is something I've been paying attention to. I also wrote about it in one of those google "surveys" they sometimes pop up at you about how satisfied you are with their products, what comments you have, etc.

Anyway, nowadays, just www.gmail.com takes me to the full desktop view. Try it, let me know how it works out for you. (I'd be very surprised if it does redirect you, but I admit it's possible I just got lucky somehow.)
 
Posts: 692 | Thanked: 264 times | Joined on Dec 2009
#10
I just tried going to gmail.com on my N900 and I can confirm it now goes to the full AJAX UI by default.
__________________
"Impossible is not in the Maemo vocabulary" - Caballero
 
Reply


 
Forum Jump


All times are GMT. The time now is 22:13.