mozilla

Consume WCF with JavaScript but keep it generic enough for all clients?

I want to create a web service for my clients so they can display their data on their own web sites. Since I will not know what platform each client is running, what would be the best solution to create a proxy to the WCF service that can be used by all browsers? Also, I am not sure how I should present the data. Let's assume my users do...

Cannot select from a datagrid using javascript in Morzilla,IE8

hi.... In a form(File.aspx) i am generating another popup window (Lookup.aspx including a DataGrid). From that datagrid i can fill the textbox in File.aspx using javascript.It works in InternetExplorer7 & InternetExplorer8 .But in Morzilla the popup & datagrid is appearing,but i can't select from datagrid . In same manner a calendar ...

"Convert web page to image"

I wonder if there is any way to convert a web page (from any given URL) into an image? this is basically equivalent to taking a "screenshot" of the page after opening it. There is a method to do it in firefox, using an extension; I can draw the DOM contents onto a Mozilla Canvas. But I'm wondering if there is any way to do it as a sta...

Closing xul wizard from overlay.js

While developing a firefox extension, I create a wizard window from overlay.js using: this.wizard = window.openDialog("chrome://firenow/content/wizard.xul", "","chrome, dialog, modal, resizable=no", params); this.wizard.focus(); How can I close the wizard from overlay.js? I should call its cancel() function but I can't get it working!...

Reusing a tab in Firefox, TabOpen event, and beyond

Hi guys. I followed a tutorial on reusing tabs inside Firefox, and right now my extension does it well. However, I also need to reuse tabs that are opened from outside (from some application, start menu etc.). How do I do this? I tried adding an event listener for TabOpen event, but when I log the event.target.linkedBrowser.currentURI....

Script stack space exhausted firefox

i am working with a large XMl response from a webservice. when i try to get that using a url, after sometimes it displaya an error in Firebug that "script stack space quota is exhausted" how can i solve that???? ...

XUL event: new page loads / get content of a page

How can I catch the event when "a page starts to load in the Browser"? How can I access the HTML and manipulate it with XUL? ...

Writing a non-GUI bot using Mozilla Framework

Hi, I'm looking for a way to write a non-GUI bot using Mozilla Framework. The bot should be able to work like normal browser (automatically download relevant JS files, make XMLHTTPRequests, run JS operations, modify DOM), except no GUI will be needed. I wonder if it is possbile to build XULRunner without X, GTK/KDE (without any GUI dep...

XULRunner: Prevent links to arbitrary domains

Hi, suppose, we have a Mozilla Prism like XULRunner app. There is a XUL window with a <browser/> element, where the browser shows a web page on a given domain (say, example.com). Now there are several links on example.com. If a user follows a local link (i.e., stays on example.com) she should be allowed to follow. If on the other hand ...

Mozilla plugin for remote desktop protocol

Is there a remote desktop plugin for mozilla browsers that can perform remote desktop functionality from with the browser. Similar to the ActiveX control found in Terminal Services Web. IE similar to this: http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=E2FF8FB5-97FF-47BC-BACC-92283B52B310 ...

Implementing splitter with no width inside a box

Hi, I have horizontal box consisting of 4 other boxes separated by splitters. I want to use splitter that looks like the tree-splitter (with no width), but whenever im trying to use it splitters dissapear and the collumns cannot be resized. Any ideas why? Or have you got any idea how can I implement a splitter that would look like one w...

building a Cygwin version of GNU make

I want to add a couple of logging options to GNU make so I can see what is happening when building FireFox and friends. I have the make-3.80 sources and a complete working Cygwin build environment. Starting with ./configure and the Make I get a working executable as expected. Question: What configuration is required so the executable...

separate css for mozilla 3.5 and 3.0.11

Is their any option for calling separate css for mozilla 3.5 and 3.0.11 ...

How can I get the current location URL of Mozilla browser using C#?

I am facing a problem while developing my Windows application for getting current URL of running Mozilla browser. Is it possible to get active URL of Mozilla browser? ...

Why "Mozilla" string is present on all browser's User Agent?

If you look on IE user agents you will see Mosilla string as well. Who knows why? ...

Offline storage in firefox 3.5 for file://

Hi, I was trying out the code for offline storage in firefox 3.5, taken from http://starkravingfinkle.org/blog/2008/05/firefox-3-offline-app-demo-part-2/. When the page loads i get a dialog prompting me that the application is asking for storing data, but when i press Allow, the dialog does not go away . The app works fine at the online...

Run a method everytime value changes.

Hi, I wonder if any of you guys can help me with what I think is observing problem. I have an element (svg to be more specific) that I want to update every time a value somewhere is changed. I have variable: GetThreadTree().treeBoxObject.getFirstVisibleRow() that initially is 0. I want to run a function updateCanvas() every time valu...

Mozilla canvas adding floating text

Hi, In my canvas element,i want to add a draggable text over an image.User should able to move it within the canvas area.I could add text by using some API functions, but i have no idea of movable text.Do i need to use DIV tag to contain text ?,But the problem is, finally i need to save the canvas as an image file, so ordinary DIV tag o...

How to add GtkMozEmbed browser into a tab with Ruby/Glade/GtK?

Hey guys, I am trying to add a browser using GtkMozEmbed into a gui I am designing using Glade. I want the browser to take up a tab in a notebook widget, but I cannot figure out how to actually do this. I am wondering what container to use to put the browser in, and the associated ruby code to actually embed the browser in this contain...

how to detect the plugin folder as a np plugin of Mozilla Firefox?

Here is a question and background: I wanna use some external resources which distributed with XPI file in "plugins" folder. How can I detect where the folder is and load all these resources? I am in Vista and expect the solution works cross-platform. ...