I want to allow the user to select the icon that appears for their extension from a list. Is there a way to edit the manifest from within the extension?
So If I have the following in my chrome extension manifest file:
"browser_action": {
"default_icon": "ico32.gif",
}
And I want to give the user the ability to change it to th...
I want to write a simple firefox extension.
How can I get a reference to the loaded document object in a browser window? For example, how can I access the document in this html page loaded here on stackoverflow? According to the vague mozilla development center I can use browser.contentDocument, but it is not working for me.
<?xml ...
I want to create an extension that redirects the user to another website if he clicks on the extension button. So far I have only seen extensions which create a new tab for each click.
Is it possible to redirect the user to another website using the active tab?
I tried something like this:
chrome.browserAction.onClicked.addListener(fu...
I'm trying to make a just a simple launch bar with a search button that appears in a page when a hotkey is pressed. I'd prefer not having to use a bunch of libraries like mootools or FancyBox(although I'm sure it would make it easier) since this is for a Chrome Extension and I'd like to keep it as small as possible. Any suggestions or s...
I am trying to utilize the Google Bookmarks API for Chrome Extensions (this is not the Google Bookmarks API as in http://www.google.com/bookmarks/, but rather Chrome Bookmarks API).
Anyway, I just tried a simple example which I have the background.html and the manifest.json listed below. However, I am not getting the alert dialog box. ...
I am using a shared hosting service to host my site so I can't get direct access to PHP configuration or install any extension. So my problem is with utf-8 strings that can't be processed by standard PHP string functions since I don't have mbstring extension installed on the server. I am looking for another way to deal with unicode strin...
I am trying to make a popup appear using the iBox javascript. When I tested on my machine using a simple html (called "test.html"), it worked fine. However, when I used the same call in my Chrome extension
document.addEventListener('keydown', function(e){
if (e.keyCode == 81 && e.altKey && !e.shiftKey && e.ctrlKey) {
iBox.showURL('se...
I am using Xalan and Java for extending a stylesheet.
(Similar example to what I am doing there : Dictionary example)
I struggle to make my tag do an <xsl:apply-templates/>. I wish to have this :
<xsl:template match="sometag">
<my-java:tag>
<xsl:apply-tempates/>
</my-java:tag>
</xsl:template>
My java class containing...
CMD Q: I want to remove the extension of a filename.
It is actually a complete path, like C:/Me/My/Path/filename.xxxx
i know that the extension has 4 chars, like shown in example above.
How can i get rid of the extension?
Thanks.
...
I want to write a Firefox add-on.
I need to monitor the contents of a DIV element.
Is there a way to put a hook or subscribe to the modification of a certain HTML element?
I don't want to poll the contents of the DIV (per say) every second, would be nice to be notified when it is changed.
Thank you.
...
Using Oracle® Data Provider for .NET to generate strongly typed datasets.
I could of course fill the entire table, but I would like to learn how to use the Where() extension with a delegate function that should limit number of collected rows based on certain table values.
Parameters for Where() extension:
(this IEnumerable<CUSTOMERRo...
I'm developing an extension for FireFox. The extension adds event listener to "appcontent" element on "load" event.
How to determine the event came from the main document of the tab? At the moment all events from different elements of the page come (for example image and even the extension document if it fires one). I would like to excl...
I'm trying to make something similar to the picture below.
http://img696.imageshack.us/img696/8844/testi.jpg
Unfortunately, I can't seem to get it to work within the extension. I get an error stating there was "Error loading the document". The screenshot above was done using a locally made html with the iBox javascript. Is there any ot...
Looking for how to create a snap-in extension.
I know how to create STANDALONE snap-ins but, also need to look into the snap-in extensions.
I'd like to create them in c#.
...
I have a Python project with mutiple extension modules written in C, which talk to a third-party library. However, depending on the user's environment and options some modules should not be built, and some compiler flags should be enabled/disabled. The problem is that I have to build the list of extension modules before I call setup(),...
I'm currently writing a C extension for ruby as part of a project of mine. The extension is to implement an algorithm I have already working in ruby in C for performance reasons. The question I pose though is whether I should use ruby's own data types in the C code or convert them to C's native types for performance reasons?
Would such...
hi everyone.
i've got a problem:
i need my extension for firefox 3.5+ to delete cookies. all cookies of my firefox.
example: i've serfed net, got some cookies installed on my pc by the sites i've visited. and i want my extension for ff to delete all these cookies.
could u please show me the direction where i can find an answer for my que...
I would like to do something like this:
svn revert --recursive mydata/*/*.txt
and I want it to revert all files which have extension *.txt in the directory mydata. Is there a way to do that?
...
I'm having fun Google Chrome extension and I just want to know how I can store the URL of the curent tab in a variable.
Maybe it's in the doc, but doesn't want to load :s
...
Hi
I created extensions for my python and created a abcPython.dll
How can I import this dll into my python scripts.
I get an error message When I try to import it usin the following command
import abcPython
Error messgae
Traceback (most recent call last):
File "", line 1, in
Imp...