Questions tagged [chrome-plugins]

About the ancient plugin system (navigator.plugins) for Google Chrome

12 questions
5
votes
1 answer

Chrome + PDF "Couldn't load plugin"

In a non-trivial number of cases, esp. after I've had my browser open for a while, Chrome will fail to display a PDF document, showing the error "Couldn't load plugin." I'm on OSX. I know the NPAPI and PPAPI issue is not relevant here. The Disable…
Jason Hemann
  • 327
  • 1
  • 12
4
votes
1 answer

chrome.tabs.onUpdated changeInfo.status === 'complete' fires too quickly

First time creating a Chrome extension, finding it a bit overwhelming. I'm trying to create a plugin to extract review data from a website and store it in a text file. I want to be able to click the plugin button to start the downloads, and then the…
Omar Siddiqui
  • 1,625
  • 5
  • 18
4
votes
0 answers

What are the implications of turning on the plugins attribute of an Electron webview?

Can somebody explain what the plugins attribute of the Webview tag actually does? What plugins does it allow? Only those that I, the developer, add? The docs just say: When this attribute is present…
pushkin
  • 9,575
  • 15
  • 51
  • 95
2
votes
0 answers

Send Message to Chrome Plugin From Website

I am developing a chrome plugin. I want to send message from a web site to plugin. I am following Google's offical documentation which is https://developer.chrome.com/apps/messaging#external-webpage. I do the same thing. The below code is from my…
Latif Uluman
  • 257
  • 3
  • 13
2
votes
1 answer

Using onpopstate in an Chrome Extension for Facebook

I'm trying to create a Chrome plugin for facebook and I'm using onpopstate event to check when the user goes to another page. The only problem is that the onpopstate doesn't fire. This is the (simple) code I'm using: window.onpopstate = function() {…
patrick
  • 6,533
  • 7
  • 45
  • 66
1
vote
0 answers

Passing messages between service worker and popup.js

I'm currently writing a Chrome extension and I'm having trouble passing messages between the service worker and popup scripts. The service worker script is supposed to send a message to the popup script whenever a sign-out event is detected, but i…
1
vote
1 answer

Error while accessing iframe from chorme extension, content_security_policy error

I am trying to access the Iframe from the chrome plugin and get the below error. Refused to frame 'https://mysite.co/' because an ancestor violates the following Content Security Policy directive: "frame-ancestors *". I have already added this…
0
votes
0 answers

Can't update value with chrome extension

I need to update a textare value with the chrome plugin. When I type directly into the console, the value is updated without any problems, but I cannot update the taxtarea value on some sites. I am able to access the textarea but cannot update the…
user16018534
0
votes
0 answers

Chrome Plugin Not able to use a custom User-Agent in Api call

I created one chrome plugin for doing some analysis on the data in the page, for that i need to call some API's from the plugin and i want to give some custom user-agent for that to identify it from server, cant use any other keys in header it will…
0
votes
1 answer

chrome.storage.local.get failing within chrome.storage.sync.get callback

It worked a moment ago and now I'm unable to get into the callback of chrome.storage.local.get(). I have data in the local store and I've written it correctly. Why does it fail? Do I missunderstand something or am I missing…
romano
  • 1
  • 3
0
votes
1 answer

How can I building a plugin/extension for Google Chrome that creates a shortcut icon to the website on the desktop of the user

I want to have a Install feature such as in this website: https://lacasadehamburguer.grandchef.com.br/?fbclid=IwAR14WN_LkR92kT8rocPFk4CqEEyAlXA4hA7Gl3SASc_eEg972RG5QckzgvM When an user click on the button Install, it add the plugin as "installed"…
0
votes
1 answer

Old Chrome plugin manifest: Unrecognized manifest key 'plugins'

I've got a Chrome plugin that I would like to use on current Chrome version but unfortunately upon installing, I get the following error: Unrecognized manifest key 'plugins'. The manifest sort-of looks like { ... "plugins": [ { "path":…
Bram Vanroy
  • 27,032
  • 24
  • 137
  • 239