I'm trying to do some drawing with SVG as a div background in a Chrome extension and seeing real strange rendering artifacts. I put an image here since I don't have enough reputation to upload one... http://imgur.com/bwpcu.png
The problem is those veritcal lines which appear when I click the text. It also happens when I dismiss a win...
I am creating a chrome extension, and need to click on the first link automatically for some time.
Is it possible to add automatic click feature in chrome extension??
...
I'm writing a Chrome extension, and would like to be able to clean up given urls, so that I get their security origin. Using location.host seems to do the job, but it's not always usable - if I'd like to get the origin of an IFrame element, for instance, the call will be blocked.
Looking at WebKit's source, this seems like a far from tr...
In my extension, I'm trying to determine whether a new tab was created as a popup by another tab and if so, which tab.
I thought I would be able to use window.opener from a content script to help figure this out. But it looks like window.opener doesn't work correctly in content scripts.
When I create a tab manually, it's window.opener ...
I'm writing an extension which needs to manipulate the dom, including iframes, however I would like to do something a little different in case I'm in an iFrame.
How can the script detect if it is in the main page, or an iFrame?
Thanks
...
hi, i have problem creating my extension for Chrome Browser.
my problem is like the following:
when the tab is updating, and the tab has completed to load the url it alerts, but when the URL does not exists (404 error, and so on) it alerts twice, why does this happens?
my code:
<html>
<head>
<script type="text/javascript">
chrome.tabs.o...
I was wondering, normally chrome extensions appear in their little area below their icon, but how would I make one that has it's own little space on a side of the browser, like FireBug lite does for chrome? Where it pushes the page up and docks at the bottom.
I have seen the sidebar in the 'experimental.sidebar' chrome api, but I don't w...
My Greasemonkey scripts all work in Firefox 3.6, but in Chrome 6 nothing special happens when I load a page that is supposed to trigger them. Here's an example script (pasted below) that highlights top comments on Hacker News. Can anyone identify what I'm doing wrong? When I click on the user.js file and install it in Chrome, the install...
I googled a bit with no luck. I'm wondering if a tool exists that allows a user to paste in a chunk of valid JSON, click on any of its elements, and get returned the id (path) to that element. I prefer either a web app, a Chrome extension, or a OSX or X11 app. Windows would be last resort as I'd have to run it under Crossover. I could al...
Hello,
I am starting to write a extention for chrome. For this extention I like to add automatically the url on the bar to an text field of my extention. When I click on my extention u popup shows a form with a field. The value must be set to the URL of the page i Visit.
I work normaly with Jquery, and maybe the answer can fit in the...
I am trying to attempt my first Google Chrome Extension and have a question. My end goal is to be able to select a button which will perform the following:
Grab the current URL of the selected tab (Ex: www.google.com)
Open a new tab using the URL from step 1 and appending a query string to the end (Ex: www.google.com?filter=0)
Curre...
Using the Google Chrome API tab.url value what is the best method to get just the domain from the entire value?
In JavaScript I would use 'window.location.protocol' & 'window.location.hostname'...for example something like this:
var domain = window.location.protocol + "//" + window.location.hostname;
But that gets the extension dom...
Does JavaScript have the equivalent of Python's __getattribute__? In the sense that I'd like an object, a, for which a reference to a property x is equivalent to a.__get__('x'). Trying to get this to work in V8. Possible?
Example: an object which makes REST-ful calls:
RESTful("some-url").foo({x:1}) => response of call to "some-url/foo?...
I want to write a Chrome extension that looks at the HTML of the page its on, and if it finds eg <div id="hello"> then it will output, as a HTML list in the popup, 'This page has a friendly div' and if it finds eg <a href="http://bananas.com">I am married to a banana</a> then it will output 'This guy is weird.'
So in other words, sea...
I'm not finding a way to do this in the chrome.* API or even the experimental. It doesn't run through wscript so
ActiveXObject("Shell.Application") isn't allowed.
I fear that my only option is to build a dll with NPAPI but I wanted to see if there was a simpler way.
...
Can you use Html DOM in google chrome extension to...
1) write/Auto fill in a form?
2) Read values in label? Textboxes? And use them in your program?
...
Can you use Html DOM in firefox plug in to...
1) write/Auto fill in a form?
2) Read values in label? Textboxes? And use them in your program?
...
Let's say I have a JSON file stored within my extension called settings.json. I can get the URL of the file using
chrome.extension.getURL("settings.json");
But now that I have the URL, how do I actually load the contents of that file so I can JSON.parse it and use it? The reason I'm doing this is that there is a server component,...
For instance, if I input:
http://www.google.com/
It would return:
http://www.google.com/images/logos/ps_logo2.png
Using javascript/jquery. These sites would all be external. Thank you!
...
I am working on fixing a bug to my google chrome extension for Gmail. I need to detect when the Rich Format bar is displayed, but all of the ids and classes are obfuscated and I presume unreliable.
To detect the message canvas
this.canvas_frame_document.evaluate("//iframe[contains(@class, 'editable')]",
this.canvas_frame_document, n...