Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why do I get this error:? Permission denied for {my URL} to call method UnnamedClass.toString on .

  • 4 个回答
  • 44 人有此问题
  • 1 次查看
  • 最后回复者为 Chris Ilias

more options

When I click on links to external sites from my website, I get the following error, like 5 times, and yet it still opens the other site after clicking all the OKs. For example, click on "Host Hotel" on the left nav.

Error: Permission denied for to call method UnnamedClass.toString on .

URL of affected sites

http://www.tgif-classic.org

When I click on links to external sites from my website, I get the following error, like 5 times, and yet it still opens the other site after clicking all the OKs. For example, click on "Host Hotel" on the left nav. Error: Permission denied for to call method UnnamedClass.toString on . == URL of affected sites == http://www.tgif-classic.org

被采纳的解决方案

Norton Toolbar is the culprit. I'm working with Norton to get it addressed.

定位到答案原位置 👍 0

所有回复 (4)

more options

No problems here. If you disable the Norton extensions, does that fix it? See Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems

more options

Disabling the Norton tool bar fixed the problem, but that's not an ideal solution. I still think it's something to do with Firefox itself though. After doing more digging, it seems only to happen if the "Open new windows in a new tab instead" option is selected. If I turn that off, it works fine (although it opens in a new window instead of a new tab obviously). And it only happens if I use the "target" attribution of the tag. If I remove the target attribute, it works fine (although again it opens in the same tab instead of a new tab). It doesn't matter how I set the target attribute either - hardcoded in the tag in the HTML, or by updating in Javascript with myanchor.target = "x" or myanchor.setAttribute("target", "x"). It also doesn't matter which value of "x" I use (a special one like "_blank" or a named one like "gregg".

more options

Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes). See Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems and Troubleshoot issues with plugins like Flash or Java to fix common Firefox problems

If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears. You can use "Disable all add-ons" on the Safe mode start window. You have to close and restart Firefox after each change via "File > Exit" (on Mac: "Firefox > Quit")

more options

选择的解决方案

Norton Toolbar is the culprit. I'm working with Norton to get it addressed.