This is for a dialog in a Firefox extension. How can I make the following code work, so that when the listener callback is called, it can reference external function onSave2(). I keep getting function onSave2() is not defined. Also, I noticed that when confirm is called I get this:
Error: Component returned failure code: 0x80004005 (...
I need autocomplete feature to be added into the editor which is iframe inside < browser >. The behavior should be similar to context menu (so popup should be shown near the text cursor) but because context menu attribute is already occupied (this menu works fine) by another functionality I can't use it. Is there any natural way to do th...
I need to bind key shortcut to $ sign for < key > in XUL I tried keycode="36", modifiers="shift" key="4", key="$" but nothings seems working. Is there any way to do such thing?
...
Hello,
ich want to slow down the loading of a website (local websever) to a predefined speed.
Any idea?
...
At our company we offer a CRM platform for leasing companies and it includes task management. Some of our clients would like to sync those tasks with outlook so they do not have to switch between applications.
I do not have lots of experience with outlook, so I don't know about its extensibility features.
What options do we have?
Liv...
I'm building (read: trying to build) a Visual Studio integration package, which contains some custom highlighting and intellisense. The language part is working fine, the package is being loaded in the IDE, installing on non-SDK machines without problems.
However, here's one annoying thing I can't get to work. I want to see my package d...
I am developing an addon which will modify all the http request made by firefox. So, I want to listen and modify all the request url made by browser from different sites. How can I get an access to different http request url and modify them. Is there any event which is fired in firefox before requesting any http-request.
So, please sugge...
I want to compile / install the IP2Location Python extension found here:
www.ip2location.com/python.aspx
I tried following the instructions at these sites:
eli.thegreenplace.net/2008/06/28/compiling-python-extensions-with-distutils-and-mingw/
boodebr.org/main/python/build-windows-extensions
But I am getting no where. The pr...
Google have added Extensions API for Chrome. Now it's possible to write extensions using HTML/CSS/JS. I was trying to embed SWF in html page and communicate with this page, but I got:
SecurityError: Error #2060: Security sandbox violation:
ExternalInterface caller
chrome-extension://ilnamifbpeaokmlgefmainkehgpoppkj/main.swf
can...
I need to find (and hide) all links with images (.jpg, .png, .gif) in href as they're causing my wordpress excerpts to break.
Many thanks.
...
I am making a firefox extension which injects most of its interface in the pages. However, if I want images in that interface, I am unable to inject them. So what I am trying is to intercept specific http requests and replace them with the local images. So far I have been able to intercept specific pages and replace them with others, but...
I'm trying to write a simple extension for MediaWiki but I can't anywhere find in simple terms, how to call functions within the application to give me the 'hashed' path to an uploaded file.
I've tried the following function call which some searching indicated would return the path but it results in an undefined function error.
//$inpu...
if ((($_FILES["uploadedfile"]["type"] == "image/gif")
|| ($_FILES["uploadedfile"]["type"] == "image/jpeg")
|| ($_FILES["uploadedfile"]["type"] == "image/pjpeg"))
&& ($_FILES["uploadedfile"]["size"]/1024<100))
When I test the code above, I found that a user can bypass the file type check by simply modifying the extension name, how to ge...
I am wondering if it is possible to make a button for Itrader (popular vbulletin extension) on the users post that when you press it, it will fill in the deal url from the page you just left .
Example: I got to DP than buy something from someones thread, there is a button that says leave itrader and from there I click it and it takes m...
I've started digging around with using the Telerik Extensions for MVC. They don't integrate seemlessly into my current project, but I could reorganize things to fit it in.
But, I'm wondering if it would be worth it in the end. I've been searching for reviews on the extensions, I haven't seen too many. So I'm asking here.
On their websi...
Can you get results from chome.bookmark.search without having to display them?
Update (Answer):
Ok. Maybe my problem is more complex. If I want to use the result globally.
function _search() {
var query = $("searchBox").value;
chrome.bookmarks.search(query, function (bmk){
var id = bmk[0].id;
chrome.bookmarks.get(id, functi...
In either Firefox/Chrome extension, is there a way to stop the loading of <img> before the browser actually starts loading them from a page?
...
Hi,
I've spent hours trying to override the Magento block for the "Add store" and "Edit store" pages in an extension, to add another text box to it. After Going through books and Googling, I've found several solutions which people say are working, however not for me.
One recommendation was this one: http://www.magentocommerce.com/board...
I've created a .jar containing some packages and I tried to put it into
c:\jdk\jre\lib\ext
but the java commnand does not find the package
If I, instead, put the .jar into
c:\jre\lib\ext
all works!
Why? The SUN's tutorial says that both the locations are good!
I saw that the extension mechanism works only for VM but not for the ...
I am installing FF extensions using the information given here
https://developer.mozilla.org/en/Installing%5Fextensions.
I am extracting the xpi into a folder named after the extension's id.
Fine with installation.
Now I have two issues,
Uninstalling.
If I remove the extension id folder, FF is creating an empty
folder when re...