I'm working on a Firefox plugin which contains a file holding some HTML data. How do I load in this file as a string?
I can do
var contents = Components.utils.import("resource://stuff.html");
but that then tries to execute the XML file as Javascript. I just want its contents!
...
Is it possible to remove the dotted line surrounding a selected item in a select element?
I have tried to add the outline property in CSS but it did not work, at least not in FF.
<style>
select { outline:none; }
</style>
...
I am developing a site and I noticed a strange gray thing appearing on my screen. It only comes up in Firefox 3.6 for Mac, and not in any other browser I tested (IE on Windows, Firefox on Windows, Safari on Mac, Chrome on both Mac and Windows). After some investigation, I discovered that it comes up if I have an element with the "overflo...
I have a weird bug when trying to run selenium with cucumber testing in Rails 3. (This is under an RVM running 1.8.7)
My colleague's dev environment works just fine but when I try and run "AUTOFEATURE=true autotest" or "rake features" I get the following error:
unable to start Firefox cleanly, args: [] (Selenium::WebDriver::Error::WebD...
We need bigger text inputs for our forms, so easy enough, we just set the height on them... But Firefox 3.5 then keeps the text at the top. How do I vertically center it? On Firefox 3.6, IE8, Chrome and Safari, the text is vertically centered as I hoped.
<form>
<input type="text" style="height: 50px"/>
</form>
How do I make the text...
Hi,
This code (below) comes from an Open-source project (SemanticScuttle)
I slightly modified the original code, attempting to convert a bookmarklet, into "web usable" Javascript.
Current Status:
Google Chrome = Works perfectly!
Fiefox = Functional, but opens in a full sized tab, instead of the pre-defined size.
IE = DOA = Not functi...
Hi all,
I'm working on an university project where I need to write a program that can access Firefox internal data & events to create stats about user actions. What I would like to have access to is:
have access to HTTP and HTML data
be able to listen to HTTP + HTML + Client side scripting events
I've already done a bit a research ...
Hi Experts,
I used https://addons.mozilla.org/en-US/developers/tools/builder to build a simple test addon and "checked"
Toolbar Button as a "Choose pre-built features"
After installing this addon I am supposed to see a toolbar button in the firefox toolbar right ?
Actually it is not happening. Instead if I go through View->Toolbar->cus...
I have the same problem as the following stackoverflow question:
http://stackoverflow.com/questions/499949/flash-loads-twice-workaround
but the provided solution is not working for me (my script runs after the DOM ready and a delay), is there any workaround to fix the Firefox bug which is fixed in the bugzilla but still exists?
upda...
I'm curious, how does Microsoft plan to embed Silverlight into Safari and Firefox.
Because if it doesn't come shipped with Safari and Firefox by default, why should anyone use it?
They are counting on that the average user is installing it when he/she sees: "Silverlight need to be installed"?
Maybe they won't install and just leave th...
What's the best Firefox extension for auto-populating forms while testing?
Preferably one which allows you to not collect data from certain sites ... I only want to use it while testing.
...
Right now I have this GET request which works in Chrome but not in IE or FF.
var dire = $(this).attr('dir');
if(dire == "ASC"){
var dp = "DESC";
}
else if(dire == "DESC"){
var dp = "ASC";
}
else{
var dp = "NA";
}
$(this).attr('dir',dp);
var col = $(this).attr('col');
$('#entries').fadeO...
<html>
<script src="../jquery.js" type="text/javascript"></script>
<body>
</body>
<script type="text/javascript">
$(":hidden").show();
</script>
</html>
Firefox 3.6 would show $(":hidden").show();, but IE 8.0 works fine. Is this a bug?
PS: I'm using jquery 1.4.2.
Thanks.
...
We get a white screen when loading our swf in FireFox. No problem in Chrome, IE and Safari.
When we create a Flex project targeting SDK 3.2, things do work. Using 3.5, things don't work.
Anyone that had similar problems?
...
Hi
Is it possible to write a jQuery scripts that visits all links on page from the console in firefox, so next time i visit the page they are all marked as visited?
Chers!
Johan
...
I have been noticing some strange (but consistent) behavior with the
chromeless YouTube Player API. I have a Flash AS2 SWF that uses
cueVideoById() to show the thumbnail images of videos which works
great. When the thumb is clicked I call playVideo() to play the
video.
For some videos this loads the video and when I look at the traf...
hi
I've a JSP page like this with name test.jsp
<%@ page language="java" contentType="text/json; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%
response.setContentType("application/x-javascript");
%>
{"feed": "test"}
and an html page where i use jquery for reading the json object.
<html>
<head>
<script type='text/j...
are there any libraries out there to minimize the differences of the behavior between IE and firefox... or there is someways to achieve that....
if not then what things in HTML & CSS & JavaScript & jQuery i should be looking put for that can cause cross browser compatibility issues... my concerns are Firefox and IE
...
I found that in recent version of Firefox, there was add a setting called "Open new windows in a new tab instead".
When I keep it on, all the pop windows(Using javascript "window.open" function opened) opened in a new tab, which I realy need opened in a pop window(With settings like "menubar=no" and etc.). Some normal links with "target...
Is it possible to make a popup window actually pop "up" in Firefox when Firefox isn't the foreground window. Standard behavior is for the window to pop under when Firefox isn't in focus.
If there is a way to use JavaScript to do this that would be best. But if not, I would also like any Firefox extensions or settings that would allow th...