Skip to content Skip to sidebar Skip to footer
Showing posts with the label Google Chrome Extension

Why Is Chrome.runtime Undefined In The Content Script?

I have a very simple chrome extension, where I'm trying to pass a message from the background s… Read more Why Is Chrome.runtime Undefined In The Content Script?

Chrome Extension Sendmessage From Popup.html To Content.js Not Working

I'm trying to build an Extension which sends data from the popup.html to the tab dome, but I ca… Read more Chrome Extension Sendmessage From Popup.html To Content.js Not Working

Basic Message Passing In Chrome Extension Seems To Fail

I have read the documentation and this should be basic but I can't seem to get those alerts to … Read more Basic Message Passing In Chrome Extension Seems To Fail

Why Is The Response Body Empty (0 Bytes On Network Tab) For This Request? Is It To Do With This Being An Extension?

When I use the fetch API (Or xmlhttprequest) I get a 0 byte response. Here is a sample of my code: … Read more Why Is The Response Body Empty (0 Bytes On Network Tab) For This Request? Is It To Do With This Being An Extension?

Chrome Extensions: Chrome.storage.local.get Headache

Trying to build a simple Chrome extension to output the whole contents of localStorage. How difficu… Read more Chrome Extensions: Chrome.storage.local.get Headache

Synchronous Message Passing In Chrome Extensions?

I'm trying to block a script file from loading on user defined websites. To block a script file… Read more Synchronous Message Passing In Chrome Extensions?

Chrome.scripting.executescript Pass Parameter

I have this code in the popup.js file on my Chrome Extension: chrome.scripting.executeScript({ ta… Read more Chrome.scripting.executescript Pass Parameter

Jquery $(document).off() Not Working In Chrome Extension

I've created a Chrome Extension based on https://thoughtbot.com/blog/how-to-make-a-chrome-exten… Read more Jquery $(document).off() Not Working In Chrome Extension

Chrome.storage.local Persistence

all. I've started developing small extensions using Chrome's various API's, and althoug… Read more Chrome.storage.local Persistence

Localization In Chrome Extensions

I have a query related to localization of Chrome extensions. I am trying to localize the text in a … Read more Localization In Chrome Extensions

How To Store Ajax Success Variable As Variable Outside Of Ajax?

I used AJAX to get data that I named variable myPubscore. Now I'm trying to send myPubscore to … Read more How To Store Ajax Success Variable As Variable Outside Of Ajax?

Detect Metadata About Pdf From Javascript

If my JavaScript code is running in a Chrome extension, and the browser has loaded a PDF file, can … Read more Detect Metadata About Pdf From Javascript

How To Wait For Page To Finish Loading All Content Before Running Script Or How To Best Detect Major Dom Changes

I'm making a text replacing extension (of sorts) using the method described here as a basis for… Read more How To Wait For Page To Finish Loading All Content Before Running Script Or How To Best Detect Major Dom Changes

Inline Javascript Stacktrace: Better Origin Than @

I'm working on a Chrome extension. I need to append Javsacript as inline-script for content sec… Read more Inline Javascript Stacktrace: Better Origin Than @

Chrome Extension - Javascript Origins For Google Api

I'm trying to make my Chrome extension upload files to Google Drive, but I'm stuck on autho… Read more Chrome Extension - Javascript Origins For Google Api

Chrome.tabs.executescript Is Not Returning Results From Content Page

I am working on a chrome extension where I attempt to return all h2 tags from the web page i am on.… Read more Chrome.tabs.executescript Is Not Returning Results From Content Page

Chrome Extension - Best Method Of Reducing Load Time While Using Content Scripts

I'm building a chrome extension that is supposed to look through an array of over 12,000 values… Read more Chrome Extension - Best Method Of Reducing Load Time While Using Content Scripts

Inject Css Conditionally Via Chrome Extension Options

I have a chrome extension with an options page that contains several check boxes for enabling or di… Read more Inject Css Conditionally Via Chrome Extension Options

How To Periodically Check Whether A Tab Is Created Or Not, Just When The Chrome Extension Is Installed

I have set my website as a chrome extension.Presently when I click on the extension icon,it navigat… Read more How To Periodically Check Whether A Tab Is Created Or Not, Just When The Chrome Extension Is Installed

Slight Loading Delay With Chrome Extension Popup

For some reason, I have a very small delay when I click my extension before the popup is loaded. It… Read more Slight Loading Delay With Chrome Extension Popup