如果将PHP脚本放在“数据”目录中,可以在Firefox附加组件中使用它吗?
Firefox add-ons can only execute JavaScript. This still leaves you with a few options:
(I just googled those links and have no idea how well they work, there probably are better alternatives)
A rewrite of the PHP code is the only clean way in my opinion. Carefully migrating the most basic code with a transpiler might save some time though.
Firefox不能直接在扩展名中使用php,除非您通过XPCOM或其他解决方法间接调用php代码。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.