Crossrider扩展,准备好的代码不运行

时间:2014-08-18 12:00:16

标签: javascript firefox firefox-addon crossrider

我开始使用crossrider,我刚刚注册了自己

/************************************************************************************
This is your Page Code. The appAPI.ready() code block will be executed on every page load.
For more information please visit our docs site: http://docs.crossrider.com
*************************************************************************************/

appAPI.ready(function($) {

    // Place your code here (you can also define new functions above this scope)
    // The $ object is the extension's jQuery object

    alert("My new Crossrider extension works! The current page is: " + document.location.href);
});

当页面加载时,这不会提醒我。

0 个答案:

没有答案