I m 创建火ox添加剂,在具体 but子中添加立克事件。 (“投入”部分)
The button is placed in http://example.com/welcome#_pg=compose but when I open the page, following error occures:
类型:文件.querySelector(“#send_top”)无效
#send_top is id of the button which I want to modify. So, the button is not found.
This error occurs because http://example.com/welcome and http://example.com/welcome#_pg=compose is completely different pages. In this case, the addon seems loading http://example.com/welcome but there is no button whose #send_top ID. When #_pg=compose anchor is added, the button is loaded by JavaScript.
• http://example.com/welcome#_pg=compose”rel=“nofollow” 修改纽伦?