user892134
user892134

Reputation: 3214

Chrome Desktop Notification bigger size

I'm currently using chrome desktop notifications but at my job they want a larger desktop notifications and chrome notifications has size limits. Is there anyway i can overcome this restriction? Are there any alternative methods i can use to accomplish this?

Upvotes: 3

Views: 2061

Answers (1)

Xan
Xan

Reputation: 77551

No, you can't overcome this easily.

Both notification APIs, chrome.notifications and Web Notification, do not allow you to specify the geometry of the notification.

Alternative methods? Sure, everything is possible, but is going to be painful and/or ugly.

You could try showing popup windows with chrome.windows (as that allows you to set geometry), or you could try to add a native host that shows notifications for you using Native Messaging. Both solutions are bad, of course.

Upvotes: 1

Related Questions