Tab-specific, non-intrusive notification in a chrome extension -
i'm developing chrome extension. when user goes options page, might modify setting require them refresh tabs have in they're using extension. if user changes 1 of these settings, goes tab requires refresh, i'd notify them of in non-intrusive way.
is there part of api doing sort of thing, or other recommended way of doing it? thinking of maybe little message comes down top of page, can closed, or popup coming out of browser action.
you have many options.. name few:
do not require it. as can, make (presumably) content script adapt new settings. it's far better ux - in cases.
least intrusive update browser action / page action icon if use one.
both apis allow per-tab change of icon/badge. animate little bring attention.
an in-page notification injected dom. sort of toast or
<dialog>
.watch tab changes
chrome.tabs
events, , on activation of affected tab, suchchrome.notifications
notification.
Comments
Post a Comment