Opening sidepanel automatically

131 views
Skip to first unread message

Tanzim mahtab

unread,
Aug 10, 2025, 11:10:34 PM8/10/25
to Chromium Extensions
Is there a way to automatically open the side panel from the service_worker without clicking the extension icon?

Rajat Paharia

unread,
Aug 11, 2025, 11:59:17 AM8/11/25
to Chromium Extensions, Tanzim mahtab

Tanzim mahtab

unread,
Aug 11, 2025, 2:39:55 PM8/11/25
to Chromium Extensions, Rajat Paharia, Tanzim mahtab
Thank you. However, is it possible to open the side panel without any user interaction? 
My scenario is this: every time a user visits a page, if the extension recognizes the URL (by matching it against a list), the side panel needs to open automatically without any user interaction. Do you think this can be achieved?

Rajat Paharia

unread,
Aug 11, 2025, 2:43:01 PM8/11/25
to Chromium Extensions, Tanzim mahtab, Rajat Paharia
That depends on the definition of what a "user action" is, which I had thought was an explicit user interaction, not just going to a specific page. But you can easily test it and see. 
"This may only be called in response to a user action."

Reply all
Reply to author
Forward
0 new messages