a way to extend Google Chrome browser by placing an icon alongside the address bar (omnibox) with popup, click and context menu handling functionality
Questions tagged [browser-action]
53 questions
0
votes
1 answer
why is browser-action always fired? and why is it for the news not fired?
I have two questions,
first question: why is browser action fired when I open the browser or open a new tab(not only when I click)?
Another question is: my extestion changes all website colors, but when the website gets more information (such as…

user3625605
- 323
- 1
- 5
- 16
0
votes
2 answers
Refused to load script in Chrome Extension
I just completed Javascript course from Codecademy. I tried to make a chrome extension that will show this page. So I looked at how to make a sample chrome extension and created the extension(basically copy pasted the entire site code). I am getting…

Ramana Venkata
- 350
- 8
- 18
0
votes
1 answer
Execute JavaScript [ContextMenu Chrome]
I'm trying to run a JavaScript code "Bookmarklet"
But I could not do it, someone knows how to do it?
background.js
chrome.browserAction.onClicked.addListener(function(tab) {
chrome.tabs.executeScript(tab.id, {file: "sc-dl.js"})
});
var…

Gustavo Hahn
- 1
- 3
0
votes
1 answer
Simple browserAction explanation please
I'm developing a Chrome extension which sends the highlighted selection to a speech engine API. I want to implement both context menu and on icon click. Here's the problem:
This works perfectly:
chrome.contextMenus.create({
"title" : "Speak…

user19882
- 113
- 7
0
votes
1 answer
chrome extention run script file on 2nd page open as result of navigation from the first page
I’m building a browser action chrome extension where the user can click a button and as a result a new tab will be created with the linked-requested url.
In this new tab / webpage I’m filling in some info and automatically (using jQuery) click a…

user1069009
- 1
- 2
0
votes
1 answer
In a Chrome extension, how do I get the URL of the website with browser_action (popup.html)?
I am creating a Chrome extension, with the following code.
File manifest.json
{
"name": "Project",
"version": "1.0.0",
"manifest_version": 2,
"description": "Popup when website requires Log in",
"browser_action":{
"default_icon":"icon_19.png",
…

anandh199g
- 111
- 2
- 3
- 11
0
votes
3 answers
Setting Background Image with BrowserAction
i am learning how to write chrome extensions, i found one example where, using a browseaction it´s posible to change the backgroundcolor of the webpage, i am trying to do something really similar, changing the backgroundimage, but for some…

CarlosJavier
- 1,005
- 1
- 16
- 29
0
votes
1 answer
Chrome Extensions Background pages
i am creating my first chrome application (browser action). i believe that background pages should be executing all the times in the background. For example if i write something like
window.setTimeout(getFeed, 30000);
This method should…

Muhammad Adeel Zahid
- 17,474
- 14
- 90
- 155