开发者

How do I call a page within my Chrome Extension without using a dash?

Chrome appears to allow users to call a page from the extension using a format similar to: \

chrome-extension://dckobaoiekjnnheocplcnkhnhhnpjcnl/OAu开发者_StackOverflow社区th/_callback.html

The problem is I am using Salesforce and for whatever reason they consider having a dash in the protocol invalid. The problem I am running into is I have to place a callback URL for the process I am working on. Is there another way to use https and something akin to Localhost or perhaps another protocol that does not contain a - in order to be able to call a page within my Chrome Extension?


If you are making a call from a background page then relative path OAuth/_callback.html should work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜