firefox

How do you open multiple Firefox tabs from a Ruby script, given that Firefox was not open before running the script?

I checked here a while ago, and learned how to open firefox from within Ruby (from this post http://stackoverflow.com/questions/435328/open-firefox-browser-with-ruby-automation-script ), and I just made a script which would open all of my common internet sites when run, but it only does so if firefox is already open. If it is not open, i...

Shadowbox not loading CSS on a external php page that I am loading

Hy my problem is like this : 1. I am loading an external page via shadowbox this page that I am loading is php 2. The page that is loading does not have any css or images This is my head: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <meta http-equiv="Content-Type" content...

HTML frames interaction & Javascript: Firefox issue

Hi there, this issue is kinda strange, and happens only in Firefox (v. 3.6.6 but also in older versions of 3.6). The best way to explain it is to describe the scenario, so.. here it is: I have two HTML pages: Page-A & Page-B. Page-A contains an iframe element, which its source points to Page-B. Page-B contains a JavaScript function: f...

form default button not working in Firefox

Hi I've created a simple form with a link button. In my page load I set default button to that linkbutton as this.Form.DefaultButton = this.btnSearch.UniqueID; it is working fine in IE but not in Firefox. Anyone has solution? ...

Customise DNS per-process

Is it possible (on Windows) to simulate a "per-process" hosts file? Or, is it a feature of any current web browser to be able to customise the DNS mapping? Edit: For example, a side-by-side test lab scenario simulating a future DNS change. It would be neat to avoid having to use two separate computers! ...

Selenium Firefox Open timeout

Using Windows 2008, C#, Firefox 3.5.1, Selenium RC (v1.0.1) When it works, this code executes very quickly and the page loads within .5 seconds. However, the session always seems to fail after 3 - 5 iterations. The open command will cause a window to be spawned, but no page to be loaded. Eventually a timeout exception is returned. The ...

onmouseover event for html select option list works only in firefox

Is there any other way we can get that to work in other browsers? I mean the options still can hovered and the background color changes, is there any event that cause that which we can catch? ...

How do I modify an existing Firefox plugin?

Delicious provide an excellent Firefox plugin for managing your bookmarks. However, they do not like the idea of people using Delicious as a private bookmark manager and so the "Mark as Private" checkbox option is set to "unchecked" by default. As you can imagine, it gets pretty annoying having to check that box every single time I want...

ASP.NET and 400 Bad Request Error

Sometimes I get 400 Bad Request error for different websites written on ASP.NET. The only solution I know is to clean up cookies for that site. Seems like that the cause of problem is _utmz and _utma cookies, which belong to Google Analytics. The problem is occurs in common cases in Mozilla FireFox, sometimes on Ghrome and Safari and ne...

Applets & client certificate authentication

I have an applet that loads its jar dependencies from a server using SSL + client certificate authentication. The web page that loads the applet is already authenticated using a client certificate. However, when the applet starts up, the JVM process (separate from the browser) brings up a dialog for certificate selection. These certi...

Stack trace emulation for web mode in GWT

In my development module, I have set the following properties: <set-property name="compiler.emulatedStack" value="true"/> <set-configuration-property name="compiler.emulatedStack.recordLineNumbers" value="true"/> <set-configuration-property name="compiler.emulatedStack.recordFileNames" value="true"/> but when running against the compi...

IE7 hangs when using (to much) ajax calls with async: false

I have the following function in a much larger script that loads translations from a php file: function loadLanguages(language){ var data = new Object(); data.language = language; var dataString = $.toJSON(data); var langSt = $.ajax({ url: "/VID/ajax/loadtranslations.php", data: ({data: dataString}), async: false }).responseT...

Unit test a firefox extension?

I'm working on a Firefox extension and started building automated tests using jsUnit. I run into permission errors running the tests from the TestRunner as soon as my extension code refers to any XPCom components. Is there a better tool for me to use for this, or how I can get around the permissions issues and continue to use jsUnit? ...

Targeting all RSS feed menus in XUL

I'm starting to learn XUL. I'd need to add an entry to each RSS feed menu in Firefox. How do I do such an overlay in XUL? The problem is that there may be multiple RSS feed menus, and they could be anywhere in the Bookmarks menu tree. For a start it would be nice to target at least those RSS feed menus which are direct descendants of the...

Regex won't find '\u2028' unicode characters.

We're having a lot of trouble tracking down the source of \u2028 (Line Separator) in user submitted data which causes the 'unterminated string literal' error in Firefox. As a result, we're looking at filtering it out before submitting it to the server (and then the database). After extensive googling and reading of other people's probl...

Problem with focusin/focusout using jquery in IE7 and Firefox 3.x.x

Hi people I'm currently pulling my hair of because of a very weird problem. I have some input fields in which I have placed some text using some <span> elements. On two of them my script is working great but on the last one it's acting a bit weird. The HTML structure for the input fields are 100% identical. I'm using the focusin/foc...

ExtJS problem with Extended Window, shows in FF not in IE

I get this irritating error message in IE, 'Events is empty or not an object'. This is my Extended window: windowKandidaatInfo = Ext.extend(Ext.Window, { id: 'windowKandidaatInfo', title: 'Kandidaatinfo', border: true, bodyStyle: 'padding: 5px;', layout: 'fit', width: 800, height: 600, pers_id: 0, modal: true, viewConfig: {forceFit: tr...

CSS gradients for firefox 3.5

What I'm trying to accomplish is creating a gradient using only css... What I'm doing works in all browsers except firefox 3.5...here's the code: #gradient { color: #fff; height:50px; padding:0; width:940px; margin:0 auto; background: -moz-linear-gradient(top, #CFE782 0%, #9BCB2A 2%,#5DA3...

Calling Greasemonkey user.js from a custom Firefox Extension

I'm modifying the existing GrabThemAll Firefox extension, which takes a list of URLs, loads them each into their own browser window, and takes a screenshot of the page. I would also like to run a greasemonkey script on this page, but I am not sure how to go about doing this. I have GM set up to automatically execute any time the URLs i...

Running Selenium RC tests in firefox in offline mode

Is there a way to run Selenium test in offline mode? If I set the offline mode in the firefox profile, selenium is stuck at selenium.start(). I'm using the python client driver. The code is as below sel = selenium('localhost', 4444, '*firefox', 'file:///home/user/selenium/selenium-python/client-driver-1.0.1/inputs/input.html') sel.st...