firefox4

Firefox 4 with watir webdriver: Need help using helperApps.neverAsk to save CSV without prompting

邮差的信 提交于 2020-01-11 03:18:46
问题 I learned how to use Firefox 4 with watir and webdriver (on Win7 x64), setting profile items. Example: profile = Selenium::WebDriver::Firefox::Profile.new profile["browser.download.useDownloadDir"] = true profile["browser.download.dir"] = 'D:\\FirefoxDownloads' profile["browser.helperApps.neverAsk.saveToDisk"] = "application/csv" driver = Selenium::WebDriver.for :firefox, :profile => profile browser = Watir::Browser.new(driver) What I try to do with the example below, is setting CSV files to

CSS Transparent Border Problem In Firefox 4?

南笙酒味 提交于 2020-01-10 09:53:07
问题 I'm trying to create a pure CSS triangle for a tooltip. All browsers looks fine except for the latest Firefox 4. Here's the code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8" /> <title>Untitled Document</title> <style> .arrow { border:50px solid; border-color:#eee transparent transparent transparent; display:block; height:0; width:0; top:50%; right:50%; position:absolute; } </style> </head> <body> <div style="border:1px solid #000; height:400px; width:400px; margin:50px auto;

Firefox 4 : Is there a way to remove the red border in a required form input?

醉酒当歌 提交于 2020-01-09 06:14:55
问题 When required is defined in a form field, Firefox 4 automatically shows a red border to this element, even BEFORE the user hits the submit button. <input type="text" name="example" value="This is an example" required /> I think this is disturbing for the user as he/she asn't made mistakes at the beginning. I wnat to hide that red border for the initial state, but show it when the user hits the send button if there is a missing field marked as required. I looked at :required and :invalid from

Firefox 4 : Is there a way to remove the red border in a required form input?

自古美人都是妖i 提交于 2020-01-09 06:13:24
问题 When required is defined in a form field, Firefox 4 automatically shows a red border to this element, even BEFORE the user hits the submit button. <input type="text" name="example" value="This is an example" required /> I think this is disturbing for the user as he/she asn't made mistakes at the beginning. I wnat to hide that red border for the initial state, but show it when the user hits the send button if there is a missing field marked as required. I looked at :required and :invalid from

Firefox 4 Issue with jQuery UI Sortable

夙愿已清 提交于 2019-12-31 07:05:33
问题 After upgrading from Firefox 3.6 to FF4 i was surprised to see that jQuery UI Sortable has stopped working (I am using jQuery (1.4.2) with jQuery UI (1.8.5)) and i get this error (from firebug) this.helper is null dev/js/jquery-ui-1.8.5.custom.min.js Line 264 I've had a look around but not found any reason for this error. I even upgraded jQuery UI to the latest version (1.8.11) but that did not help. If anyone has any insight why this is happening (or a fix) i would greatly appreciate your

window.blur() not working with Firefox 4

混江龙づ霸主 提交于 2019-12-31 02:10:29
问题 I have a function that when activated opens a new window as a pop-under under the current browser window. It was working fine with all past version of IE and FF, now it has stopped working. Apparently Mozilla has changed one of the setting of FF 4 to prevent this: http://support.mozilla.com/en-US/questions/806756 Here is the code I am using: function popup(page) { var myWin = window.open(page,"mywindow","menubar=1,resizable=1,status=1,toolbar=1,location=1,directories=1,scrollbars=1"); opener

Why does Firefox 4 absolutely position fieldset legends differently than other browsers?

寵の児 提交于 2019-12-22 09:49:28
问题 Why does Firefox 4 absolutely position fieldset legends differently than other browsers? Test page: <!DOCTYPE html> <html dir="ltr" lang="en"> <head> <meta charset="utf-8"/> <title>Test</title> <style type="text/css"> * { margin: 0; padding: 0; } body { font-family: Tahoma, Arial, sans-serif; font-size: 62.5%; } #wrapper { margin: auto; padding: 1em; width: 720px; } form { width: 670px; padding: 25px; background-color: #ffffff; /* White */ color: #000000; /* Black */ border: 1px solid #cccccc

Where are Firefox IndexedDB files stored?

微笑、不失礼 提交于 2019-12-21 01:45:51
问题 If I create an IndexedDB in Firefox 4, where are the files stored on my hard drive? Preferably for Win7, but the path is probably similar across OSes. 回答1: This post suggests the following location: C:\Documents and Settings\<username>\Application Data\Mozilla\Firefox\Profiles\<xxxx>.default\indexedDB\<databaseid> The <xxxx>.default folder is your profile directory, which is where Firefox keeps basically everything. 来源: https://stackoverflow.com/questions/5358704/where-are-firefox-indexeddb

Error: Attempt to run compile-and-go script on a cleared scope

微笑、不失礼 提交于 2019-12-17 10:31:15
问题 Since upgrading to Firefox 4.0, I've noticed that I'm occasionally getting an error in the console stating: attempt to run compile-and-go script on a cleared scope The only information I can find about this on the net currently is on the mozilla groups forum, where it is suggested that it's something to do with session restoring. In my case, though I haven't been able to reliably reproduce the error, it happens at any time, not just after a restore. What's the deal? How do I stop the error?

Using Rewrite in .htaccess instead of Alias in httpd.conf

亡梦爱人 提交于 2019-12-12 06:16:41
问题 Trying to setup up my own Weave server on shared host, obviously I cannot modify httpd.conf file so I try to find a work-around using Rewrite module and .htaccess. Based on documentation here https://wiki.mozilla.org/Labs/Weave/Sync/1.1/Setup and https://wiki.mozilla.org/Labs/Weave/User/1.0/Setup I created .htaccess RewriteEngine on RewriteRule ^1.1(.*) server-sync/1.1/index.php/$1 [L] RewriteRule ^1.0(.*) server-sync/1.0/index.php/$1 [L] RewriteRule ^user/1.0(.*) weaveserver-registration/1.0