browser

Programatically access webpage error details in browsers

Is there some way to access webpage warning/error details using JavaScript? For instance, errors in IE show up in the bottom left corner like so: I would like to able to access the details of this error (in IE as well as other browsers if possible) using JavaScript. Any suggestions? EDIT: I'm not looking for debuggers. I want to a...

What does it mean for a browser to be "webkit-based" or "gecko-based"?

I hear these terms bandied around quite a bit, especially when discussing feature compatibility... but what do they mean? ...

what happens when you type in a URL in browser

can somebody tell me what all happens behind the scenes from the time I type in a URL in the browser to the time when I get to se the page on the browser? A detailed account of the process would be of great help ...

"Same origin policy" and scripts loaded from google - a vulnerable solution?

I read the question here in SO "jQuery Linking vs. Download" and I somehow don't get it. What happens if you host a page on http://yourserver.com, but load jQuery library from http://ajax.googleapis.com and then use the functions defined in jQuery script? Does "same origin policy" not count in this case? I mean, can you make AJAX calls...

Get the Latest Wordpress Bookmarklet

Hi, Can such thing as a "get the most recent WP release" bookmarklet can be done? I can sure use that link in my browser. Thanks! ...

Legitimacy of optimizing a site to site to load fast for googlebot

The question I have is a bit of a ethical one. I read here that Google gives a little more influence to sites that are optimized to load quickly. Obviously this makes Google's job easier, using less resources and it is a better experience for everyone, so why not reward it? The actual process of finding bottlenecks and improving page ...

Prevent access to Javascript based website or...

Hi, Some websites I develop have a great need for the use of Javascript, they will not work without it. Lots of the site functions and actions depend on some Javascript code that cannot be replaced by server-side code. Sometimes, the Javascript is so complex and needed that it's impossible to provide a fallback for browsers with Javascr...

What scuppers a browser's 'remember login' logic?

For web sites that have username/password text input fields, the browser usually handily offers to remember them for you (in my case, Safari puts them in my OS X keychain). This simply does not happen with certain web sites. The first example that comes to mind is vBulletin forums. Meaning you can't use a complex/random password unless ...

Popup browser incompability

I have a popup with drop down menus on it. I've scaled it down and simplified it for test purposes, but it still doesn't work the way I want/it should. <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"&gt;&lt;/script&gt; <script type="text/javascript"> jQuery(document).ready...

Jquery Dialog Scrollbar solution

I have a result-set in my dialog box that I would like to scroll (if the results span larger than the actual dialog height. I am doing this via the following method: $("#'||the_result_set_id||'").css({overflow:"scroll"}); This doesn't seem to be consistent with IE versus Mozilla. Is there a better solution for this, where I can get scr...

CSS Cross-browser opacity from Javascript

I want to turn down the opacity on an element when a user performs an action. The current code I have is: document.getElementById('MyOpaqueElement').style.opacity = 0.3; // There are checks in the real code for NULL, etc. This works on Firefox, Safari, etc. IE8 has different ideas about opacity. I have read a couple of articles but ...

Does any installer support adding a bookmark to user's browser?

Hi, I am looking for an installer application (hopefully cross-platform, but only Windows would also be useful) that has the option to add a bookmark in at least the default browser for the user, bonus if it can do all installed browsers. Does such an installer exist at all? The reason for this request is that I have a bookmarklet for...

Google Maps based benchmark for browsers?

Anyone knows if there is any benchmark done to browsers in a "google maps" test suite? Google Maps with lots of markers and data can really get slow so maybe this was an interesting "real world" benchmark that stresses javascript / DOM management in browsers :) ...

GET request made after window.onload is very slow, blocks page scrolling - need help with performance analysis

I have a widget that is inserted on numerous Web pages. It's composed of some JavaScript that loads an HTML document from my server (as JSONP) which is then inserted into a dynamically created <iframe> on the page where the widget is deployed. I use Clicky for analytics/tracking to measure the number of pageviews that my widget's host p...

How can I decide my browser (*firefox,*ie) from command line in the rake file?

I have a rake file which runs few tasks. I want to run my tests on several browsers without hard-coding it on each test. Any suggestions would be great. ...

Mouse events aren't working in embed browser

Hello folks, i'm making an Itunes plugin with an embed browser attached to it. I can see it, and it works perfectly, but it can't receive mouse inputs! I think that itunes is getting all the inputs for it... anyone knows a way to solve this? ...

Programmatically Log/Tail Browser Activity with Ruby to a File?

How do I access this activity log information programmatically with Ruby (this is the Activity Window from Safari)? Can I use Mechanize to spit out all this information (duration, size, address, etc.) in XML, or is this already stored somewhere on my computer? ...

Is it possible to set a cookie from a browser plug-in?

Do browser plug-ins, such as the Yahoo toolbar or others, have the ability to set cookies on multiple domains as the user browses the web? Does the browser expose the necessary access to do this to a plug-in? If this varies across browsers, that would be helpful to know as well. Thanks! ...

Notify users from my webpage that their browser does not have the latest update?

I want to show a warning message to all of my logged in users to my web application if their browser is not the latest version. So if they are using IE8 without the latest security patch, or if they are using Firefox 3.0 (instead of 3.5 or 3.6 at this point), or using an older version of Safari/Chrome when a newer stable version has bee...

Javascript: Automatically maximize browser window and switch to full screen mode?

Hi, I am working on a Flash app that is 900x700 pixels. When viewed in misc. browsers at 1024x768, the browser chrome causes robs too much of the vertical space and the app appears in a window with a vertical scrollbar. Unacceptable. The flash app will be launched via a link emailed to the viewers. I'd like to avoid resizing the flash ...