chrome.scripting.executeScript doesnt have a match_about_blank option
152 views
Skip to first unread message
Moe Bazzi
unread,
Aug 31, 2022, 1:51:56 PM8/31/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions
Hey everyone,
so injecting a content script into a tab from the manifest file, there is a match_about_blank option that injects the content scripts into about:blank frames as well. But for injecting content scripts via the chrome.scripting.executeScript api, this option doesnt exist. How can I make surer my content scripts are injected into about:blank frames when injecting them dynamically with this api?
Thanks.
wOxxOm
unread,
Sep 1, 2022, 2:59:50 AM9/1/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, bazz...@gmail.com
It's enabled by default when allFrames is true.
Moe Bazzi
unread,
Sep 1, 2022, 3:00:52 AM9/1/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message