Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom widgets (HTML/iframe) #656

Open
hikariatama opened this issue Mar 2, 2024 · 3 comments
Open

Custom widgets (HTML/iframe) #656

hikariatama opened this issue Mar 2, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@hikariatama
Copy link

Description
Like most modern website building platforms provide the option to create and add a custom HTML block, it would be nice to have such option in Mue. You could even add a moderated section in Marketplace for such custom widgets. More specifically, I really like the idea of having a Google Calendar on the newtab page, if the network is available, or the Spotify widget, etc.

Design
Any code editor similar to Stylus would be enough. If it's tough to implement in terms of browser extension, the option of adding the iframe by URL would also be nice. Just be sure to include some security measures against code injection. Probably a big red warning before adding a third-party widget, and a strict moderation when publishing to the open marketplace... Can't really give any advice on that before the actual system draft is proposed.

@hikariatama hikariatama added the enhancement New feature or request label Mar 2, 2024
@davidcralph
Copy link
Member

Thanks for your feature request. I think this is certainly possible, but I'll need to double check the relevant extension store policies (see: issues we had with #201). Any code editor that would be integrated would be as simple as the Custom CSS option to keep code sizes down.

I'd quite like a feature to inject custom CSS etc into windows as well, perhaps?

This most likely won't be added for a while, at least in the ability to add many widgets, because the code is not setup to accept custom widget positioning. It's on the todo list, but we're not sure how long it will take.

@hikariatama
Copy link
Author

I'd quite like a feature to inject custom CSS etc into windows as well, perhaps?

There're extensions for that already, like Stylus or Stylish, so I doubt that this will be in demand. But custom styles for newtab page would be great, since none of these extensions allow you to inject the styles there.

@hikariatama
Copy link
Author

This most likely won't be added for a while, at least in the ability to add many widgets, because the code is not setup to accept custom widget positioning

Perhaps as a temporary workaround you could make the positioning problem up to the widget developer :idk:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants