PlasmoHQ / plasmo

🧩 The Browser Extension Framework
https://www.plasmo.com
MIT License
10.66k stars 370 forks source link

Add manifest api for creating sidebar extension for Opera's browsers #1099

Open PawelGawlikDev opened 1 month ago

PawelGawlikDev commented 1 month ago

How do you envision this feature/change to look/work like?

Is it possible to add option to create sidebar extension for opera like is describe here: https://help.opera.com/en/extensions/sidebar-action-manual/.

What is the purpose of this change/feature? Why?

If i'd like to create extension with will be display in sidebar instead of in popup (most extension created for Opera do it in this way).

(OPTIONAL) Example implementations

No response

(OPTIONAL) Contribution

Verify canary release

Code of Conduct

duoluodexiaoxiaoyuan commented 1 month ago

image I encountered this problem and I don’t know how to solve it. I don’t understand the documentation very well.

PawelGawlikDev commented 1 month ago

Any update?

duoluodexiaoxiaoyuan commented 1 month ago

Any update?

thank u ,i slove this questions

PawelGawlikDev commented 1 month ago

@louisgv ^

louisgv commented 1 month ago

This should work I think? https://docs.plasmo.com/framework/ext-pages#adding-a-side-panel

PawelGawlikDev commented 1 month ago

@louisgv Not exactly because API for sidebar looks like this:

"sidebar_action": {
    // Required
    "default_icon": "icon.png",
    // Optional; shown in tooltip
    "default_title": "My Sample Extension",
    // Required
    "default_panel": "panel.html"
}