iLoveSS
V2EX  ›  Firefox

firefox 上有没有可以向 iPhone 推送文字内容的扩展呀?

  •  
  •   iLoveSS · Aug 7, 2024 · 2357 views
    This topic created in 668 days ago, the information mentioned may be changed or developed.

    之前是 chrome 用户,上面有个 bark 插件,可以点按钮直接将剪切板内容发送的 iphone 上的 bark 应用并弹出通知,实现快速文字内容共享.

    chrome 貌似后续版本的限制变多了,bark 也变成即将不支持的插件了,所以想切换到 firefox 阵营. 不知道 firefox 上有没有类似的替代解决方法. 先谢谢大家了!

    8 replies    2025-07-23 11:32:16 +08:00
    iOCZS
        1
    iOCZS  
       Aug 7, 2024
    抓包,看看发送给 APP 的接口是啥。然后自己实现火狐插件,调用这个接口
    iLoveSS
        2
    iLoveSS  
    OP
       Aug 7, 2024
    @iOCZS 接口比较简单,没做过火狐插件,我试试看
    7gugu
        3
    7gugu  
       Aug 7, 2024
    没有,但可以做
    troilus
        4
    troilus  
       Aug 8, 2024   ❤️ 1
    写个书签:
    javascript:(async function() { try { const clipboardData = await navigator.clipboard.readText(); const clipboardContent = clipboardData.trim(); if (clipboardContent !== '') { const url = 'https://你的服务区/token/' + encodeURIComponent(clipboardContent); await fetch(url); } }catch (error) { console.log('ERROR:', error); }})();
    troilus
        5
    troilus  
       Aug 8, 2024
    复制文字之后,点一下这个书签
    iLoveSS
        6
    iLoveSS  
    OP
       Aug 9, 2024
    谢谢,我也这么想过,改了 url 和 token,但是在 firefox 里没成功. @trilus
    troilus
        7
    troilus  
       Aug 12, 2024
    @iLoveSS 可以看一下控制台报错
    ecapsul
        8
    ecapsul  
       Jul 23, 2025
    @troilus 感谢,好用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2830 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 13:13 · PVG 21:13 · LAX 06:13 · JFK 09:13
    ♥ Do have faith in what you're doing.