Google extension: How to sendMessage when there’s a new active tab?
I use contentscript to query a webpage via the DOM to grab some text. I then send this text to popup.js
as the text will be used as title for a newly created tab group.
How to import html2canvas in Chrome extension
I have created an extension to get a capture of the body with the following code, but I get an error message.
Run a function and modify a variable defined in website in a Chrome extension
I’m trying to run an existing function defined in a website using JS for a Chrome extension.
Take a look at the code below, where there is a button which when clicked runs the function refreshDisplayCanvas()
and edit the variable zoomRate
chrome extension send multiple data and wait all of them before continue
I’m making an extension where I need to pass several data from content.js
to my background.js
so I can use chrome.downloads.download
API. This information contains filepath, URL to download, images.
chrome.downloads.download API to a specific folder
I’m trying to use an extension to download files automatically. Per chrome.downloads API it’s possible to set a folder to download the file inside a new folder inside downloads folder:
Why is the value returning undefined?
I’m trying to a chrome extension to track tweets that I type out and store them into a variable that can be displayed in the html code. However, each time I do a tweet there is just an undefined value.
Here is the code:
How to retrieve fetch requests through chrome extension
How can I retrieve the request that are being send and received from the server.
For example, when I look at the chrome devtool, I can see under network all the fetch/XHR requests being send and received.
Is it possible to trigger Drop event in JavaScript[chrome extension]
I am writing a Chrome extension to intercept the drop
event and analyze the files being dropped, using Event.DataTransfer
, and re-trigger the drop event with a modified file list.
How to Inject Content Script into Edge PDF Viewer to Capture Selected Text?
I’m developing a Chrome/Edge extension that captures selected text in PDF files and logs it to the console. The script works fine on regular web pages, but it doesn’t capture text in the PDF viewer in Edge.
How to run a Tampermonkey script on PDF pages in Edge browser to capture selected text?
I’m trying to run a Tampermonkey script that captures the selected text and logs it to the console. The script works fine on regular web pages but doesn’t seem to execute on PDF pages in the Edge browser.