[Firefox] JS injection error

Post

Posted
Rating:
#5493 (In Topic #1274)
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’
Hey All!

This is a random error not requiring any cycles from Chris & Co., just posting in case someone else bumps into it.

Screenshot from 2018-12-13 19-01-54.png

I'm one of those dudes who dislikes autoplaying of videos on websites so I have a plugin called 'Disable Autoplay' that I use to stop this from happening. (as an aside, the Brave browser does a good job at this natively) This error pops up when I have the plugin enabled while puttering on my Composr toys. One click to disable for the particular site solves the problem dandy.

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top

Post

Posted
Rating:
#5507
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
Thanks, fixed in Suppress JS error messages from inside FF extensions · ocproducts/composr@1f76cba · GitHub

Or you can remove the dialogs by removing this line from HTML_HEAD:

Code

{+START,IF,{$NOT,{$BROWSER_MATCHES,ie}}}{+START,IF,{$HAS_PRIVILEGE,sees_javascript_error_alerts}}window.take_errors=true;{+END}{+END}


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#5510
Avatar
Standard member
SoccerDad is in the usergroup ‘Community saint’
Done and error-be-gone, thanx Chris!

"no violence, no hate, no pain, no enemies
just peace, unity, tolerance and love" - The Beloved
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Manu, MVLipwig, deepu_ms, Vaiva, Salman, Adam, Paul D, John Connor

Forum statistics:
  • 1,071 topics, 5,179 posts, 6,021 members
  • Our newest member is sdadtechnology
Birthdays:
Back to Top