justin2018

分享:不错的浏览器插件开发脚手架

  •  
  •   justin2018 · Nov 5, 2023 · 1822 views
    This topic created in 946 days ago, the information mentioned may be changed or developed.

    ⚡ Next-gen Web Extension Framework

    https://github.com/wxt-dev/wxt


    Collection of essential libraries and tools for building web extensions

    https://github.com/aklinker1/webext-core


    为啥用 WXT ?

    最开始用的是Plasmo,但是Plasmo遇到 ESM 的包就报错,后来在群里看到一个开发者安利WXT

    用了一段时间,感觉不错,就没有换回来了


    WXT 与 Plasmo 对比:

    最后打❌的三个功能其实基本上实现了 详情见:

    Storage

    https://webext-core.aklinker1.io/guide/storage/typescript.html

    Messaging

    https://webext-core.aklinker1.io/guide/messaging/protocol-maps.html

    Content Script UI

    https://wxt.dev/entrypoints/content-scripts.html#ui


    2 replies    2023-11-05 15:26:17 +08:00
    molvqingtai
        1
    molvqingtai  
       Nov 5, 2023 via Android
    提了个 feature ,作者当天就实现发版,赞👍
    justin2018
        2
    justin2018  
    OP
       Nov 5, 2023
    @molvqingtai

    是的

    作者更新很快 看到其他开发者提的 bug 和 feature 都很快解决了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5837 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 03:06 · PVG 11:06 · LAX 20:06 · JFK 23:06
    ♥ Do have faith in what you're doing.