Giter Club home page Giter Club logo

Comments (6)

ajayyy avatar ajayyy commented on May 18, 2024

What is options_ui? Is that the openable options panel?

from sponsorblock.

bershanskiy avatar bershanskiy commented on May 18, 2024

MDN article
Google's docs

options_ui is a manifest key used to specify a page that opens up when the user wants to access extension options.
Option pages can open either as a full-tab page or be integrated within chrome://extensions and about:addons if they don't need much space, like this extension).

The benefit of options_ui is that options don't clutter up the popup and user can open extension options in a more "integrated" manner: via chrome://extensions and about:addons or by right-clicking the extension icon and in context menu choosing "Options".

It's a dedicated page that you specify in the extension Manifest.

Note that there is the newer options_ui key and deprecated options_page.

from sponsorblock.

NDevTK avatar NDevTK commented on May 18, 2024

Can common options be displayed on the same tab via the popup? (As well)

from sponsorblock.

bershanskiy avatar bershanskiy commented on May 18, 2024

Can common options be displayed on the same tab via the popup? (As well)

Yes, of course. All options are stored as just internal variables (in storage.sync) and, of course, you can modify them from anywhere in the extension's context (background, popup, userAction, content scripts, even context menus).
However, you already hide options on popup behind a click. That means you already don't have enough space to permanently put them there. Since the user has to click something anyway, why not open a proper page?

from sponsorblock.

NDevTK avatar NDevTK commented on May 18, 2024

Well I think theirs a UI change planed so it will hopefully not be hidden by a button
Most of the features of the extension popup that are not in the options bit should be possible from the player
So then pplz like me can be lazy

from sponsorblock.

NDevTK avatar NDevTK commented on May 18, 2024

options_ui should be something like __MSG_optionsUI__
#86

from sponsorblock.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.