browser

Following an anchor to content on another page that isn't created until after the DOM is ready.

Hi all. To boil it down, I have two pages. Simplified, they could be represented this way. Page 1 <html> <a href="page-2.html#section-A">Link to section A</a> </html> Page 2 <html> <script> // Assume jQuery $(document).ready(function(){ $('#wrapper').append($('<a name="section-A">Here is S...

Cant find appropriate doctype, only seems to work in quirks mode

For some reason my web page seems to work fine without a doctype, but doesnt if I specify any in full. I have gone through various different templates without any success, i.e. code validators then dont like my code and/or it doesnt work. The only thing "I get away with" is the top line below, but even then I cant specify any details, ...

Will this JQuery plugin work in the iPhone and Android browsers? (they use webkit)

I want to use this LazyLoad plugin for JQuery. http://www.appelsiini.net/projects/lazyload But, they say this at the bottom of the page: Due to webkit bug #6656 Lazy Loading wont give you any improvements in Safari. It will load all images you wanted it or not. It seems jQuery 1.3.x breaks the plugin for IE. All images ...

ASP.NET - Refreshing a posted page that isn't cached on IE

Lets say you have a page with headers that tell the browser not to cache. Also, this page has already been posted back to itself. Now you hit the refresh button and you click cancel on the IE modal box with the "previously submitted..." message. You get "Webpage has expired". This doesn't happen in FF or Chrome. Is there a way to pr...

Why other languages character doesn't show in browser title bar?

Why other languages character doesn't show in browser title bar? for example see this http://chhotikashi.com/ ...

Is there a better way to parse html tables than lxml

I am working with html documents and ripping out tables to parse them if they turn out to be the correct tables. I am happy with the results - my extraction process successfully maps row labels and column headings in over 95% of the cases and in the cases it does not we can identify the problems and use other approaches. In my scanni...

UTF8 Bug in Chrome and Safari? Or wrong Apache setup?

Hello everyone So, this page: http://utf8test.n.ceromedia.dk/ has some UTF8 Characters. They display correctly in Firefox, IE and Opera, but doesn't work in Chrome and Safari. Boxes appear instead. I have and when I look at the headers: Content-Type: text/html; charset=utf-8 Can you see what's wrong? Is it something I do wrong, or is...

Disable auto resize flash object when opening in IE

If open yahoo finance chart (link pasted below) in IE, the chart will be resized to fit the viewing window, and making the chart viewable without scrolling down. However, this makes the chart become smaller for me. I would like to see original size, which requires me to click the setting bar and change something to make it restore origin...

How does browser know when to prompt user to save password?

This is related to the question I asked here: http://stackoverflow.com/questions/2382329/how-can-i-get-browser-to-prompt-to-save-password This is the problem: I CAN'T get my browser to prompt me to save the password for the site I'm developing. (I'm talking about the bar that appears sometimes when you submit a form on Firefox, that say...

JavaScript: How to determine the web "fold" programmatically?

Question: How can I determine the "fold" programatically (how much vertical content the browser is displaying)? The "fold" defined as where you can no longer see / have to scroll. I've tried with JavaScript to simply determine the browser window size to determine the fold; unfortunately - this doesn't work well because some browsers ha...

Within a web browser, is it possible for JavaScript to obtain information about the SSL Certificate being used for the current page?

Is there a method for JavaScript running in a browser to determine which CA certificate is being used to authenticate the remote host for the browser's current SSL connection, and also obtain properties of that certificate, such as the name of the CA? If not, are there any other options for programatically obtaining this information, su...

Why would html source not change when the DOM is updated dynamically

I had posted one question earlier http://stackoverflow.com/questions/2381621/jquery-inconsistency-in-setting-readonly-attribute-in-ie-8-and-ff-3-5-8 and was quite happy with the answer. But I did notice that if you update (any??) DOM elements dynamically, then view source (using browser's view source) I find the the updated DOM element ...

Usability Study of opening links in a new browser window.

Hi all, I hope this isn't too off topic for programming, but I'm sure lots of you would like more information when dealing with clients or managers on this topic. I'm looking for actual usability testing & research into opening browser links in a new window. I'm aware of all the reasons why it's a bad idea, but that's not what I'm lookin...

Play ogg inside a page?

I was pretty surprised when i saw http://www.vorbis.com/music/Hydrate-Kenny_Beltrey.ogg link not give me a download option but had a player that was not flash playing the audio back. (FireFox) Is there a way i can embed this onto a page? ...

Limit on mail body when posting a mailto: form

I've got a HTML form with a lot of input fields, which I use to populate an email. I learned today that using the GET-method will limit the size of what's posted. But from what I can tell, there is no limit when using POST. Well, there probably is since I believe that this is probably my problem. My emails aren't opening in the email cli...

How do I disable "compatability mode" in IE8 for my website?

When users go on my website, I want to force them to use IE8 non-compatability mode. If they use compatibility mode, my website doesn't work. How to force it off? Is it a meta tag? Edit: Yes, you can do it. Solution is this: <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" /> ...

Embedding JTextArea into a JMenuItem

We are building our own Web Browser in Java. It doesn't have to be anything too complicated, we just want several things to do so we could distinguish our project from others. What we want to know is this: Is it possible to somehow embed a JTextField object into a JMenuItem? To be more precise, we want our address bar (text field) to ...

Emacs - help() output in web-browser

I started using Emacs (ESS) as a default R editor (yes, @Dirk, as you've said, I want ESS), and I must admit it's by far the best R editor I've been using so far. However, I cannot manage to get an output of help() function up to web browser. It keeps displaying help page in a separate R buffer, even if options(help_type = "html", brows...

Algorithm used by browser for searching words in the webpage

Hi, Which data structure or algorithm is used in browsers to search for a word? Will the browsers construct a trie or suffix tree? Thank you Bala ...

Difference between DOMContentLoaded and Load events

Hi all, What is the difference between the DOMContentLoaded and the Load event? thx, Viktor ...