I would like to ramp on extension development by modifying an existing extension.
I have zero experience with JavaScript, but i do have experience with C, C++, Java and Python.
I chose the Regular Expression Search extension by bizsimon.
Here is the JavaScript code of the content script which i am trying to understand.
chrome.extension...
Hi All,
Have a small doubt in how message passing works in chrome using content scrips. I modified the default example (http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/api/messaging/timer/) for message passing given in the chromium documentation to the one that looks below :
popup.html
function t...
I was wondering with Google Chrome's extension API, is it possible to extract memory usage data for each tab and use it in a popup? I know there is this extension https://chrome.google.com/extensions/detail/mmbijkbkjlefoimjopcojbkpnmljahlh but all it does is simply open the about:memory tab. I was thinking maybe there was a way to "parse...
Hi there, I'm trying to figure out how to open a connection to an external Socket.IO server every time the user visits a new page from a google chrome extension. This is my first extension, so it's a bit tough.
I tried using an iframe and the history.onVisit event, but no luck so far.
...
I have given the permission in manifest file, though when I try to make XHR to https://wh2.sibers.com I am just getting a xhr.readystate = 4, xhr.status = 0;
I can do XHR request just fine from the console(under the wh2.sibers.com page of course). Anybody has a broader knowledge in this things please show me the direction, thanks
...
I'm using the following code to capture a screenshot of the selected tab
chrome.tabs.captureVisibleTab( undefined, function( data ) { display( data ) });
The API says its possible to change the size of the tab ( http://code.google.com/chrome/extensions/tabs.html#method-captureVisibleTab ) but I can't work out how to do it. At the mome...
When I was browsing through Chrome extension gallery I saw one author mentioned something about some possible limits on how many times you can search Chrome history through API. Is it true? I can't find any info on this.
...
Hi All,
I am trying to show a simple desktop notification code from a content script, but it doesn't seem to work.. I have added the permissions in the maifest.json file. Is there a restriction on showing them from the content script ?
...
I'm having trouble communicating with multiple content scripts from my background page. My background page has code like:
chrome.tabs.sendRequest(tabId, { targetScript:"content1" }, function (resp) {
if (resp.fromCorrectScript) {
DoMoreStuff();
}
});
and I have content scripts like:
// content1.js
chrome.extension.onRequest.a...
I have a simple Google Chrome extension that uses the content script feature to modify a website. More specifically, the background image of said website.
For some reason I can't seem to be able to use local images, even though they are packed in the extension.
body{
background:#000 url('image.jpg') !important;
background-repe...
Hi All,
Google chrome seems to auto wrap the contents of a text file whn i open it. I am opening a link from my chrome extension whose response is a text file. When I open the same link in firefox, it opens with all the spacing and tab-space preserved. But that is not the case when U open it in chrome. It just auto wraps all its co...
I would like to use some of the Google AJAX APIs in my Chrome extension,
and I'm not sure if this is possible.
The AJAX API documentation clearly states that I must use a key that matches my domain. What would that be in case of an extension? My tests seem to work, but I;m worried this is only because I'm making a very small number of ...
I've this Tab Sugar Google Chrome extension which works fine under Windows: when installed, the user can click on its icon right in the browser, and access the Tab Sugar dashboard, as a new page in a new tab.
But for some reason, it doesn't seem to work at all on Google Chrome under OSX: users experience that nothing happens when clicki...
I am trying to get a string of values from a background page to my content script in a Google Chrome extension I am making.
The problem I am encountering is that when I try to get the value to the content script, it doesn't go. Here is the code
var list1 = "";
chrome.extension.sendRequest({action: 'list'}, function(response) {
li...
what i need to know is:
http://img338.imageshack.us/img338/315/19999578.gif
, self explaining image :)
is it possible in Chrome Browser?
Thanks in advanced
...
here is my problem:
http://img687.imageshack.us/img687/5391/88030081.gif
here is my simple page:
<html>
<head>
</head>
<body>
URL fixing provided by none
</body>
</html>
what do i need to do?
i see other extensions with width and height set to just fine, and i only enter some little text and i get linebreak,
this is the only thing i ...
I'm attempting to develop a chrome extension which will allow a user to use Outlook Web Anywhere more effectively. During development, I noticed that there doesn't appear to be any way to share login information between OWA (which uses form based authentication) and Exchange Web Services (which I'm using for the bulk of the extension), ...
I'm trying to get a start in programming by writing a Chrome extension similar to the Smart Bookmarks Bar extension for Firefox. Java seems straightforward enough, and I can probably figure out the specifics of building an extension but I can't find out what commands I need to change the rendering of the bookmarks.
1)Does anyone know wh...
I'm going to implement an extension, which is kind of similar to GreaseMonkey. Just wondering which browser I should pick: Firefox or Chrome? Which one has better technique supports?
...
I think I am having trouble visualizing what code goes where and what requests and responses go where.
Let's say I want to alter all <img> tags in the body of a document. I am sure I would adjust there styling in the inject.js file,...but would I still need to send a request to background.html? If so,...I am not sure what the respons...