firefox

Javascript regex problem

I need to make html pages where I want to share Ad space with other adsense users. I am trying to use javascript to find and replace adsense code using regex expression but I am stuck. This is the piece of string I am trying to match. pub-111111111111111"; /* 336x280, created 12/12/12 */ google_ad_slot = "2222222222"; An...

how to set zoom level using css

I have been developing my webapp with a certain zoom level on firefox that I set initially (using ctrl+wheel). Now when tested on a different PC on firefox, the default 100% seems to be too big. Can I set default using css? ...

After the DOM is ready, IE will not show page content when Javascript is modifying the DOM? (but Firefox will show)

I have a page that will initialize jCarousel when the DOM is ready (by jQuery's $(document).ready()), but on IE 8, the page is not displayed until jCarousel has finished initializing, which can be 1 minute later. On Firefox and Chrome, the page content is shown right away, while letting jCarousel do its job. So is it true that IE will...

Is it possible for a greasemonkey script to automate the Ctrl+A (select all) action in firefox ?

Is it possible to write a Greasemonkey script to trigger the Ctrl+A (select all) action in Firefox? (after a new page is loaded if the script is enabled???) Help me at any level possible for you. Update: "Firefox has got addons to speed read or read aloud selected text. I just wish to automate the part where text is to be selected....

if folder exists, return true

I can check if a folder is empty. this.emptyfolder = function(folderid) { result = PlacesUtils.getFolderContents(folderid); resultContainerNode = result.root; if (resultContainerNode.ChildCount == 0) { return true; } else { return false; } } How to check if a folder exists even if it's empty? link...

flash not rendering in Internet Explorer

Hi have the following flash object placed in HTML, flash seems to be rendering good in Firefox, Chrome, Safari but not in any version of IE!!! Can someone please let me know whats wrong in this object, or what I miss specially for IE!! Thanks in advance, Tanmay ...

How to view "generated HTML code" in Firefox?

If using Firebug, we can click on the HTML tab, and click to expand each element to see the generated HTML code. Is there a way to expand it all or get a plain text file? I just accidentally found out that there doesn't even need to be Firebug. We can just press CTRL-A (to select all) on the webpage, and then right click and choose "V...

xhr.send(file) doesn't post it as multipart

On Firefox 3.6 and Chrome, using xhr.send(file) just puts the raw contents into the body of the request and it is not a true multipart/form-data upload. Tried doing this: http://kaply.com/weblog/2010/05/20/post-multipart-form-xhr/ But, can't really mix string with File contents during send(). Any workarounds? ...

Custom pdf plugin for internet exporer, firefox ,chrome etc..

I want to write a custom plugin which can open a pdf file for popular browsers(IE , Firefox, Chrome). I am going to use some open source pdf viewer code if I can and put some checks in that code for authentication and license validity. Actually the plugin should work with many file types(Video, audio, doc etc...), I am trying to develo...

How to update my flash file in firefox

Hi everyone, I have updated the flash file on my page. In IE its showing the latest one. But in firefox the previous file only reflecting... Any other plugins for java, flash should I download for firefox? ...

font is not the same in Linux FF and in Windows FF

Hi, Please check this screenshot! This is the same page in Linux FF (on the left) and Windows FF (on the right, also it's displayed in the same way in IEs). I love how it looks in Linux FF and want to have the same look in Windows. However after playing with all CSS properties I know of, I didn't manage to change its look in Windows....

CakePHP + HTML5 Prefething = Logging Out

After adding HTML5 Prefetch links to head section of default.ctp, all firefox users (in CakePHP application im working on) are keep getting logged out after next page refresh. Any ideas how to make CakePHP prefetch-friendly? Here is example prefetch links placed inside head of the page: <link rel="prefetch" href="/" /> <link rel="prefe...

How can I specify a browser that GWT tests should be run on?

I am writing a GWT project that uses HTML5 canvas. To test application I use GWTTestCase. For firefox some functions are supported since gecko 1.9. While testing, firefox 3.0.1 is being used and errors occur. How can I set up GWT tests to be launched on firefox 3.6? (in Eclipse using GWT plugin or using build.xml for ant) ...

Creating a new Firefox add-on: XUL or Jetpack?

If you were going to start developing a new Firefox add-on today, would you still use XUL/JS or would you start using Jetpack, the new add-on framework? The XUL way of creating add-ons will continue to exist on Firefox 4 but Jetpack is clearly building steam and I imagine it will become the only way of creating add-ons in the future. ...

Why does this HTML5 Video Tag not work in Firefox 3.6 and why does it not autoplay in Safari?

<video controls="" autoplay="" tabindex="0"><source type="video/mp4" src="pird2.mp4"></source></video> ...

Select box focus bug using -moz-transform in Firefox

I've noticed that if I apply a transform on a select box focus (i.e. select:focus) in Firefox it first focuses the select box then you must click the select box again for it to actually drop down. Anyone else experience this? I tried looking for a bug at Mozilla but didn't see anything. Webkit browsers (tested in chrome) act appropria...

Why is hidden text input boxes showing up below instead of to the right?

Hi, I found an odd error when I was splitting up my code into a new page (and reorganizing the questions). Sorry if my code is sloppy, I've done alot of re-learning as I begin to incorporate CSS and jQuery into my knowledge base...last time I made a website was with tables back in high school. Anyway, the problem I have is the hidden in...

Remove firefox glow on focused textarea

Hey all, I can't figure this one out.. I'm trying to get rid of that blue glow when textarea is highlighted in firefox. Here's my CSS: textarea { margin:0; padding:0; width: 598px; height: 600px; resize: none; outline: none; } :focus { outline:0; outline:none; } It removes it in safari, but ...

Does a response to an xmlhttprequest call have to be XML?

I've written a bunch of xhr stuff over the years, but today I ran into a curious thing. In firefox with firebug every time my server responds, I get a syntax error in the console. And the error context is the message response text. The message response text is a string of numbers separated by pipes "|". Sure it's not valid xml, but I've ...

Developing Firefox plugins?

What language(s) do I need to know to develop plugins/extensions for Firefox? Also, any useful tools (as far as IDE or SDKs)? ...