Javascript Tooltip / Posts /

Uncaught DOMException Failed to execute insertRule on CSSStyleSheet

The error is related to insertRule(). Chrome and Firefox both have errors. And while tooltips still work, it would be great to avoid this error, especially since I am not seeing the same error on this site.

Chrome - Uncaught DOMException: Failed to execute 'insertRule' on 'CSSStyleSheet': Cannot access StyleSheet to insertRule

Firefox - SecurityError: The operation is insecure.

Thank you!
Vlad  2 months ago   viewed: 228    

1 Answer


You need to have the <head>...</head> section in your page.

  2 months ago


Your name*
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: