Share via


msSiteModeRefreshBadge method

Causes Windows 8 to refresh the site tile badge for a webpage to be sure that it is up to date.

This method will only be supported in Microsoft Edge on Windows 10 in a future update.

 

Syntax

external.msSiteModeRefreshBadge();

Parameters

This method has no parameters.

Return value

This method does not return a value.

Standards information

There are no standards that apply here.

Remarks

In Windows 8, tiles are updated at a frequency determined by the developer. A location on a website is polled to get the current notification. This method tells Windows 8 to recheck the polling URI (an xml file that contains the latest notification value) immediately rather than waiting until the next scheduled time. This enables a webpage to keep the notification on Windows 8 in sync with changes on the site. For example a news feed site might use a badge notification to display how many headlines are available. If a user see a there are 5 unread stories and visits the site. While on the site, he only reads two, the site can refresh the badge to show three unread stories.

See also

external

Pinned site notifications in Windows 8