it seems i make removeCookie not to produce an error by changing user-extensions.js
(i replace "createCookie(this.page().currentDocument, text, "", path, -1);" with "createCookie(this.browserbot.getDocument(), text, "", path, -1);")
function works without any error message, but the cookie still present :(