Safari Extension safari.application error

后端 未结 1 1779
[愿得一人]
[愿得一人] 2021-01-22 06:17

I\'m making an extension for safari I created a context item with command = showNote

In debugger I get the follwing error TypeError: Result of express

1条回答
  •  清歌不尽
    2021-01-22 06:45

    Just ran into this problem myself trying to create a toolbar command. Turns out I was putting the JS in the wrong place. I added it to the "Injected Extension Content" as a start script. Needed to create an HTML page that included the JS and set that as the Global Page File.

    Switch that around and you should be set, assuming it's the same problem I just ran into.

    0 讨论(0)
提交回复
热议问题