Questions tagged [offscreentabs]

offscreenTabs was a Chrome Extension API which allowed developers to create and render invisible tabs.

The offscreenTabs API module allows for interacting with multiple web pages on the screen at the same time.

Note: This API has been deleted.

6 questions
2
votes
2 answers

Has offscreen-tabs been removed from Chrome browser?

I'm looking at the offscreen-tabs experimental API here. Then I tried to enable this but I don't see it in the chrome://flags/ part of the browser. Has it been removed from the browser as an experimental API or has it become a real API?
Phil
  • 46,436
  • 33
  • 110
  • 175
1
vote
1 answer

How to produce an image by chrome.experimental.offscreenTabs.toDataUrl correctly?

I've got a problem: the chrome.experimental.offscreenTabs.create worked well, but the toDataUrl method produced an image with a height of 1 pixel. I've tried my best, but the image produced by toDataUrl does not show the size as I specified. How can…
0
votes
0 answers

It doesn't work callback of chrome.runtime.sendMessage in content-script.js

I am bypassing the data worked in offscreen.js to content-script.js using sendResponse in background.js, but a problem arose where the callback function of chrome.runtime.sendMessage in content-script.js does not work. below is background.js const…
0
votes
1 answer

Loading a page containing Javascript in a Chrome extension without displaying the page

I'm building a Chrome extension that needs to see the results of a Google Groups topic search (the page URL is https://groups.google.com/forum/?fromgroups=#!searchin/opencomments-site-discussions/subject:{some topic} and I can tell if there is or is…
0
votes
1 answer

Invalid or unexpected MouseEvent object

I am trying to send Mouse Event to my Offscreen Tab and I received following error: Error during experimental.offscreenTabs.sendMouseEvent: Invalid or unexpected MouseEvent object My Code: chrome.experimental.offscreenTabs.sendMouseEvent(tab.id,…
Sudarshan
  • 18,140
  • 7
  • 53
  • 61
0
votes
1 answer

How to use the experimental offscreenTab API?

I've been searching for examples and reference and have come up with nothing. I found a note in offscreenTab source code mentioning it cannot be instantiated from a background page (it doesn't have a tab for the offscreenTab to relate to). Elsewhere…
Reinsbrain
  • 2,235
  • 2
  • 23
  • 35