Im trying to get a form working in Internet Explorer. I see that when i submit this form in Firefox I can start a session and send my webbrowser to the right page based on that Session. In Internet Explorer however when i'm debugging the $_SESSION i retrieve an empty array back, this means that in Internet Explorer the session isn't star...
First, I can assume that all urls that end with jpeg, jpg, bmp, png or gif are images, and others aren't.
I thought of, and tried two solutions:
Matching the regular expression .(jpe?g|bmp|png|gif)$
Using ends-with to check each separately
But, it appears that neither of these exist in XPath 1.0, or at least, they don't exist in Fir...
HI,
I am trying to call a method defined in flash object from javascript
(firefox-3.0/Linux) and getting the exception: "NPMethod called on
non-
NPObject wrapped JSObject".
If I use eval on window.document.flash_object.func() it throws
"NPMethod called on non-NPObject wrapped JSObject".
Where as, if I define a javascript function in s...
I need to change the firefox window title like I would do for internet explorer (like this). Is it possible or do I need to somehow install an extension and hack this setting into it?
...
$.getJSON(service + "/GetJobTags",
{ tag: "a" },
function(json) {
$.each(json, function(i,val) {
alert(val.Title);
});
});
It calls:
http://127.0.0.1:20087/ClientService.svc/GetJobTags?tag=a
This is probably of note, the service is running on a different port to the client application, wh...
I've got some code which works fine in IE but unfortunately not in Google Chrome/Firefox.
It relies upon calling a click() event on a button from javascript. Reading around it seems that this is an IE specific extension (doh). Is there any way I can do a similar thing in chrome + firefox? To clarify, it's executing the click event on a ...
When Google's main page communicates with Firefox or Chrome it uses a particular type of encoding (Perl says it is utf.64). However, I can't decode it using such; is it a gzipped enconding? I need to finish an app in Perl that should be able to make sense of the Google homepage using Firefox (like a proxy).
...
Hi all,
I've been working on some code in js/html and it works great. I'm now trying to package it into an add-on for Firefox, and having some issues getting the XUL document correct.
PLAIN OLD HTML/JS
In my html test file between the <head></head> I have:
<script type="text/javascript" src="js/MyCode.js"></script>
At the end of t...
I've noticed that in recent versions of Firefox, some images are displayed even when I disable images (e.g., Google News). Apparently this is due to images being embedded in the code using the "data:image" specification. Does anyone know of a way to disable these images from being displayed?
The reason I'm posting this here rather than ...
In my web application, I send all the usual response headers to the browser to prevent caching (Cache-Control: no-store, no-cache). Content expiration is also turned on.
However, if I log out of my application in Firefox 3.6 and then navigate to "about:cache", I can see HTML content from inside my application in the memory cache. I've...
I'm pretty sure this is a Firefox or flash-related bug, but I just want to check if anyone has ran into this problem or knows how to fix it.
Basically, we have a multi-file upload widget for our highly dynamic web app (think Gmail). We've tried both uploadify for jQuery, and YUI uploader. We've also tried taking those out of our app int...
I just tested Geolocation on Firefox 3.6 and iPhone Safari (os 3.1.3), the result is interesting, firefox is more accurate than safari. any one got idea how to make iPhone Safari result more accurate.
Testing Resul
Windows Vista Firefox 3.6: ------------- Accuracy: 150
iPhone 3G (os 3.1.3) Safari: ----------- Accuracy: 828
this i...
I want to develop a extension for firefox. Now I add a image in my project, and I want to use it in my js.because my element is created dynamic,so I didn't get it from xul file. How to get the Image in JS directly?
...
I'm a developer, and I spend much of my day refreshing the webapps I work on. Occasionally, I'll encounter pages where POST data was submitted, and firefox will prompt me to Resend POST data or to Cancel.
Now, I know that I can just redirect a page to itself to get rid of this warning, but I still want to keep this warning for our us...
I've got a page with a header and a content.
The header has position: fixed; height: 200px, the content is below.
In the header I have a link <a href="#work" ...> . In the content there is a <div id="work">. When I click the link, the browser scrolls to the work div - the problem is half of the content is covered (remains underneath) t...
Hi All,
I am developing extension for Firefox 3.0-3.5 versions using VS2008.
I want to set attribute to a tab once the document load request completes within that tab window.
So in OnStateChange method, I am checking for document load.
I have used STATE_STOP & STATE_IS_DOCUMENT for it.
I want to determine which tab window has been as...
I am using HTTPWatch automation API to launch a new Firefox instance like that:
HttpWatch.Controller ct = new HttpWatch.Controller();
HttpWatch.Plugin plugin = ct.FireFox.New("");
plugin.GotoURL("http://www.google.com");
These codes could start a Firefox browser successfully. Then I want to control the browser in WatiN 2.0:
FireFox f...
To set your own colors for anchor, I know we can do this in UserContent.css:
a { color:green!important; background-color: white!important; font-size: 1.2em!important; }
But how to set a specific color for the anchor tag that references the same page (the "#" is in the url). Or if "javascript:" is in the ural of the anchor tag?
...
I don't have an experience with any debugger in any language, but I recently found some videos showing Firebug.
I'm now playing with Firebug with a script I included an error with.
What I understand now is:
I can set a breakpoint, which is shown as a red circle.
Firebug stops at the breakpoint and gives me 4 options (Continue, Step I...
In FF this border radius doesn't seem to want to work.
Editable link here.
the right radius of the big box should be 0px and the left of the small boxshould be 0 to join them..
...