首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > PowerDesigner >

chrome扩充 tab的onupdate事件

2012-11-22 
chrome扩展 tab的onupdate事件最近在写一个小东西,发现以前知道的一些小细节竟然忘记了,很多恍然大悟之后

chrome扩展 tab的onupdate事件
最近在写一个小东西,发现以前知道的一些小细节竟然忘记了,很多恍然大悟之后感觉很幼稚的东西还是挺打击人的,小记于此,便于查询

chrome的开发环境提供了tab的一系列监听事件其中一个是 onUpdate事件
https://developer.chrome.com/extensions/tabs.html#event-onUpdated
官方api的写法对我来讲还是有点迷惑性的,比如

changeInfo ( object )Lists the changes to the state of the tab that was updated.status ( optional string )The status of the tab. Can be either loading or complete.pinned ( optional boolean )The tab's new pinned state.url ( optional string )The tab's URL if it has changed.

热点排行