nodexy
V2EX  ›  Google

有无开发 Google Chrome 插件的? 求交流 !

  •  
  •   nodexy · May 21, 2012 · 5695 views
    This topic created in 5283 days ago, the information mentioned may be changed or developed.
    RT

    最近在写一个Chrome的插件,基本内容是当用户访问某几个国内主流的商城的产品详情页面时,会根据该页面的ID去服务端后台读取数据,然后显示到当前页面的某个位置,或者显示到插件页面。

    插件开发基本流程已经掌握,但是对于js相关的一些API不够熟练,整体的数据访问、事件回调状况不够清晰,localStorage倒也熟悉了。

    另外,我看了别人写的几个插件,最关键的部分还是有些不懂;所以特此求交流;如果有官方之外的经典示例和指南文章就更好了 :) 先谢!
    6 replies  •  1970-01-01 08:00:00 +08:00
    cooper
    cooper
    May 21, 2012❤️1
    1
    nodexy
    nodexy
    OP
    May 21, 2012
    2
    @cooper 非常感谢!

    粗一看文档基本上是直接翻译过来的,连图都是。。。里面一些链接还直接到google的
    elgoog
    elgoog
    May 21, 2012❤️1
    3
    wong2
    wong2
    May 21, 2012❤️2
    4
    可以看一下一些比价插件的代码吧,比如这个:
    https://chrome.google.com/webstore/detail/keigpnkjljkelclbjbekcfnaomfodamj
    或者这个:
    https://chrome.google.com/webstore/detail/keigpnkjljkelclbjbekcfnaomfodamj

    先装一个扩展:
    https://chrome.google.com/webstore/detail/bbamfloeabgknfklmgbpjcgofcokhpia
    然后就可以在Chrome webstore里直接看它们的源码了。
    willandlily
    willandlily
    May 21, 2012❤️1
    5
    @cooper 360的这个文档推荐,我就是看这个文档 + Google 例子做的插件。
    nodexy
    nodexy
    OP
    May 22, 2012
    6
    @wong2
    @willandlily
    感谢各位!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   686 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 20:40 · PVG 04:40 · LAX 12:40 · JFK 15:40
    ♥ Do have faith in what you're doing.