问题
I downloaded an example of moz-behaviors usage but it doesn't work in Firefox 10. Do I need to change something to make it work?
回答1:
No, web pages can no longer use XBL as of Firefox 4 (the support was removed along with the support for remote XUL). It is possible to enable both remote XUL and XBL for specific web sites but you cannot expect users to do that - so essentially moz-behaviors no longer works.
来源:https://stackoverflow.com/questions/9679527/do-moz-behaviors-work-in-firefox-10