Hi,
I am writing a chrome plugin in which I would like to receive events such as "load", "unload" of window and page. However, I'm not getting any concrete clue to start with.
Can anyone tell me how to capture DOM event in plugin?
Does Chrome support this feature?
Thank you.
...
Hi
I'm developing a google chrome extension.
I am trying to use the jquery-ui datepicker inside a jquery-ui dialog of the existing webpage (content level)
Like so: Screenshot
I get "DP_jQuery_1274168529407 is not defined" when I click on any button of the datepicker widget and I think that it's because jquery datepicker adds on the ht...
I am trying to remove an element from a div on a third party website.
Such as
<div id="full_size_photo">
<img src="img1">
<img src="img2">
</div>
var imageDiv = document.getElementById("full_size_photo");
imageDiv.removeChild(imageDiv.childNodes[i]);
imageDiv apparently has 5 children? :S
When i is 1 img1 is removed properly....
Hi,
I am writing a chrome plugin in which I want to register click event, means whenever we click on DOM window, the handler inside plugin will be called. For that I am using CPlugin class. The constructor is called from NPP_New(/argument/).
When I run the browser and click anywhere, I noticed that ScriptablePluginObject's HasProperty a...
Is there a good way to do this? I'm writing an extension that interacts with a website as a content script and saves data using localstorage. Are there any tools, frameworks, etc. that I can use to test this behavior? I realize there are some generic tools for testing javascript, but are those sufficiently power to test an extension? Uni...
How might I detect that a user has selected and copied some content in the currently active tab in a Google Chrome Extension?
It appears that there are no suitable Events that deal with the Clipboard in chrome.tabs or chrome.windows.
Is there a way to detect such actions through Content Scripts?
...
Hi there,
I'm trying to make use of google's ajax apis in a chorme extension's "content script". On a regular html page, I would just do this:
<script src="http://www.google.com/jsapi"></script>
<script>
google.load("language", "1");
</script>
But since I'm trying to load the tranlation library dynamically from js code, I...
I have been following the Google Chrome Extensions Developer's guide and have been able so far to create an extension with a browser action without popup that would trigger a webkit notification in HTML format.
Fact is that this HTML file contains action buttons, links and javascript, but none of them seems to respond.
Is this a by-des...
I am in the process of designing an extension for Google Chrome that helps to organize tabs (I know, there are many that already exist; that doesn't matter). I wish to open a popup window that will display tabs as objects (i.e., in the same way that it is displayed in the tab bar at the top of the browser). One way of doing this would ...
For a Google Chrome extension, none of the Javascript I write to manipulate the DOM of the extension popup.html seems to have any effect on the popup's DOM. I can manipulate the DOM of the current webpage in the browser just fine by using content_script.js, and I'm interested in grabbing data from the webpage and outputting it into the ...
How do I customize the scrollbar (eg. make it black and thinner) for the Page Action popup for a Google Chrome extension?
For reference, here is what a Page Action is:
http://code.google.com/chrome/extensions/pageAction.html
...
It seems that it is not possible, but if anyone as a hint on how to create a right-sided sidebar (like a iframe) in google chrome, any hint will help. Thanks.
...
I'd like for my chrome extension to reload every time I save a file in the extension folder, without having to explicitly click "reload" in chrome://extensions/. Is this possible?
Edit: I'm aware I can update the interval at which Chrome reloads extensions, which is a half-way solution, but I'd rather either making my editor (emacs or t...
Can I create a Google chrome extension to prevent the page from doing an alert() ?
...
Hi,
is there an easy way to detect from a Chrome extension that the user is logged into his google account or not.
I guess there is a nasty way to figure this out by loading a html/css/js resource that requires authentication.
But i'd like to do this in a "clear" way.
thx and best,
Viktor
...
I have begun using Google Chrome as a primary browser, but I miss my Evernote extension, which can clip a web page directly to the local Evernote application. Is it possible for me to write an extension in Chrome that can do this?
...
chrome.tabs.executeScript(null, {code:"$.each(selectValues, function(key='" + timestamp + "', value='Custom')
{
$('#expire').
append($(\"<option></option>\").
attr(\"value\",key).
text(value));
});"});
It says that the first line has a syntax error, and the WebKit inspector shows odd highlighting ...
I use chrome.extension.getURL for a file, and on the page it is placed, it treats it as a relative url (e.g. http://example.com/chrome-extension://ajs8dh8dsfauhdf8auhaffh/blah.js)
How can I make it treat it as an absolute URL instead? It is placed into the href component of a tag.
EDIT: I've seen people's plugins do this for CSS, so I ...
So I am trying to create an extension in Chrome (a prototype for a project that I am doing) that targets all of the <div> tags of any web page, hides them or rather doesn't display them until the user clicks the mouse (further explained below). So typing a url into the browser yields a white page. The person clicks, and the first <div>...
Hey there.
I'm trying to get the info that is set on the Options Page to alter the behavior of my extension.
Basically, if a checkbox on OptionsPage is set to true, the extension runs, otherwise it doesn't.
I'm returning true on the background.html for testing purposes, but still, it doesn't work.
Would you guys help me out? Thanks!
...