I developed some javascript enhanced pages that run fine on recent Firefox and Safari. I missed to check in Internet Explorer, and now I find the pages don't work on IE 6 and 7 (so far). The scripts are somehow not executed, the pages show as if javascript wasn't there, although some javascript is executed. I am using own libraries with ...
Is it possible to conveniently test jQuery selectors on some random web page using some sort of plugin for browser (Firefox)?
It would be nice if it could automatically highlight selected elements.
...
I want to make a greasemonkey type script for firefox that runs before the scripts on the page. Greasemonkey scripts run after scripts on the page, so that won't work. The reason I need this is because I want to edit one of the scripts on the page. Specifically, I want to delete a script that forces the page to load inside a frame sin...
I am running a chrome app in firefox (started with -app) with the following code to open a filepicker:
var nsIFilePicker = Components.interfaces.nsIFilePicker;
var fp = Components.classes["@mozilla.org/filepicker;1"]
.createInstance(nsIFilePicker);
fp.init(window, "Select Files", nsIFilePicker.modeOpenMultiple);
fp.appendFilt...
I am trying to do "POST" with XMLHttpRequest in a firefox extension, and after that I try to get the "Location" header and open it in a new tab. For some reason, the XMLHttpRequest doesn't contain a location header.
My code
function web(url,request)
{
var http = new XMLHttpRequest();
http.open('POST',url,true);
http.setReq...
I have multiple pages being pulled together into a single page. Some of these individual pages have their own html, head, and body elements. Is it detrimental to the performance of the page to have these? It seems that the DOM is correct (only has a single of each element) in FireBug.
...
Can someone explain to me how can I open a new tab from a firefox extension, that contains HTML content from a string I have?
...
I was wondering where I can find some information how IE8 actually handles xml header... for example how is handling <?xml version="1.0" encoding="utf-8"?> different to <?xml version="1.0"?>. Or how is handling processing node different in ie and other browsers.
One other questions would be how FF handles those header. Is it any differe...
Hi all :)
Made this sweet little script to auto change fields after input. Works nicely in IE, Chrome and Safari, but not in FF or opera.
JS code:
function fieldChange(id, e){
var keyID = (window.event) ? event.keyCode : e.keyCode;
if (document.getElementById(id).value.length >= 2){
...
I am using firePHP(Zend profiler) on on FF 3.6.3(firephp addon installed) and it returns queries, when I do a normal page load. Ajax requests, however, are not returning the proper queries. I am using Prototype 1.6.0.2 for ajax requests. Is there something I am missing? Most of the write-ups seem to imply that this should work by def...
I need to put something like a Textarea into a "box" element in Xul. It needs to be multiline. It's for an explanation frame.
Is that possible? I can't find anything on the MDC official site.
...
The title of the question sums it up pretty well. I've downloaded the source for firefox 3.6 and built it (no errors), but when I try to run it, I get a warning that says:
(firefox-bin:2857): GLib-WARNING **: g_set_prgname() called multiple times
I'm not sure what to try now. Any suggestions? Or even a better place to ask this ques...
I'm creating a new site using the below script embedded in my swf. But I keep getting this error on all the pages: Error #1063: Argument count mismatch on com.flashden::MenuItem(). Expected 1, got 0.
package com.flashden
{
import flash.display.MovieClip;
import flash.text.*;
import flash.events.MouseEvent;
import flash.events.*;
...
Hi all, I want a php page to 'display' a pdf. Here is the code:
<?php
header("Content-type: application/pdf");
readfile('Reportage - Berlin.pdf'); //tried echo(readfile(...)) as well
?>
Not very complicated I think, but somehow firefox cant detect that this is a pdf. This works in Safari but in firefox, i get a prompt to download...
Has anyone ever embedded the firefox web browser technology in their own [unmanaged] C/C++ GUI application in the same way that IE can be embedded as a COM object? (I would like to do this on Linux, not Windows). Are there "better" alternatives to firefox? I'm open to anything as long as I can use it with non-GPL code. My needs are f...
Hello,
I'm trying to read a file from a local filesystem. I do not have a server at my disposal and thus i'm trying to do it this way. Here is what I got so far;
function init(){
netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserWrite');
dojo.xhrGet(
{
url: "/json/coursedata.json",
handle...
Hi,
I want to create toolbar, whose functionality would be:
Whenever the toolbar is "On/Activated", all pages should be parsed by a function, and the modified html should be displayed.
[Example:
i) There was this skype toolbar that would recognize phone-numbers in pages and automatically add skype links
ii) If you have used MacAf...
I've got code that makes a simple get request to Twitter (search) using jQuery's ajax method. The code works fine on Safari, but fails on Firefox (3.6.3). In the Firefox case, my jQuery.ajax parameters 'success' method is invoked, but the supplied data is null. (In Safari, I receive a boatload of JSON data).
My ajax call is:
$.ajax({
...
My site has an iframe which is dynamically populated with html content. The html often contains named anchors, which work fine in IE/Chrome but in Firefox it reopens the entire page within the iframe.
Here's an example: load the page in firefox, scroll to the bottom of the iframe, click the "back to top" link, and you will see what I am...
Hi all,
As I understand it Firefox does not support H.264 encoded video using the tag. I've been told that Flash will quite happily handle such content however I have no experience with Flash nor do I have access to Adobe Creative Suite. I'm developing primarily for Firefox users and recoding our video content to OGG would not be pract...