2017-02-24 80 views

回答

1

大多數最新的瀏覽器支持Web Notifications API。這使您可以要求瀏覽器顯示來自JavaScript代碼的操作系統通知。

有關示例代碼,請參閱Microsoft documentation on web notifications

請參閱which browsers support the web notifications API。 Edge,Chrome和Firefox本身支持此功能,對於Internet Explorer,您需要安裝plugin以支持此功能。

+0

這是偉大的,但我無法運行代碼...這是我的下載頁面:http://hqtunes.com/balloon_tooltip/ –

+0

嗯,我看到我的jQuery不工作 –

+0

@mrbengi這是很難幫助,因爲你繼續編輯該網頁 – NineBerry