Answers.Body: <p>Where are you trying to add the script -- in the "Footer" editor window on the Event details page? </p>
  
  <p>If so, you probably need to add it in the Wordpress side (e.g. as an HTML/Text widget) rather than the CiviCRM editor to avoid these security notices. If you only want to have the widget show on CiviCRM pages, or SSL pages, etc. you may find <a href="https://wordpress.stackexchange.com/questions/76959/how-to-add-a-specific-widget-to-only-1-page">this Q&amp;A on the Wordpress StackExchange site helpful</a> (more than one of the answers may be useful).</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-11T23:03:44.637Z
Answers.Text: Yes, in the footer, and in the Thank You footer also.
Answers.UserDisplayName: G H
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-11T23:04:14.890Z
Answers.Text: Not to be a jerk, but ... I only want it showing up when there's money involved.
Answers.UserDisplayName: G H
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-13T02:21:39.337Z
Answers.Text: My understanding is that JS isn't allowed in the footers, but you could tackle this from the Wordpress side as I indicated. I've edited the answer to link to a Q&A that may help you find a way to designate the widget to show only on certain pages.
Answers.UserDisplayName: Laryn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-07-07T18:22:01.710Z
Answers.Text: Marking this Answered, and hoping that a better option becomes available.  Too much administration being introduced this way.
Answers.UserDisplayName: G H
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-06-10T21:02:42.853Z
Answers.LastActivityDate: 2016-06-13T02:21:02.820Z
Answers.LastEditDate: 2017-04-13T12:37:59.517Z
Answers.UserDisplayName: Laryn
Body: <p>So, utilizing Authorize.net, the verification seal code has a JS call in it.  However, when trying to save the online event registration page, CiviCRM complains that there may be a JS attack in progress.  Pulling the script bits out removes the error and the link still says it's verified.  The code is typical JS light, but seems very benign in the same way.  Anyone else experiencing such an issue?</p>
  
  <p>Here's the JS call, with the potentially confidential bits mixed up:
  <code>&lt;script type="text/javascript" language="javascript"&gt;var ANS_customer_id="redacted";&lt;/script&gt;&lt;script type="text/javascript" language="javascript" src="//verify.authorize.net/anetseal/seal.js" &gt;&lt;/script&gt;</code></p>
  
  <p>Wordpress:  4.5.2
  CiviCRM:  4.7.8</p>
  
Tags: <wordpress><javascript><authorize.net>
Title: Authorize.net seal and JS in footer
ThreadText: # Authorize.net seal and JS in footer
  
  (Asked by: username_0 on 2016-06-09)
  
  So, utilizing Authorize.net, the verification seal code has a JS call in it. However, when trying to save the online event registration page, CiviCRM complains that there may be a JS attack in progress. Pulling the script bits out removes the error and the link still says it's verified. The code is typical JS light, but seems very benign in the same way. Anyone else experiencing such an issue?
  
  Here's the JS call, with the potentially confidential bits mixed up:
  `<script type="text/javascript" language="javascript">var ANS_customer_id="redacted";</script><script type="text/javascript" language="javascript" src="//verify.authorize.net/anetseal/seal.js" ></script>`
  
  Wordpress: 4.5.2
  CiviCRM: 4.7.8
  
  **Tags:** wordpress, javascript, authorize.net
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-06-10. Score: 1 | Accepted answer
  
  Where are you trying to add the script -- in the "Footer" editor window on the Event details page?
  
  If so, you probably need to add it in the Wordpress side (e.g. as an HTML/Text widget) rather than the CiviCRM editor to avoid these security notices. If you only want to have the widget show on CiviCRM pages, or SSL pages, etc. you may find [this Q&A on the Wordpress StackExchange site helpful](https://wordpress.stackexchange.com/questions/76959/how-to-add-a-specific-widget-to-only-1-page) (more than one of the answers may be useful).
  
  > **Comments:**
  > **username_0**: Yes, in the footer, and in the Thank You footer also.  
  > **username_0**: Not to be a jerk, but ... I only want it showing up when there's money involved.  
  > **username_1**: My understanding is that JS isn't allowed in the footers, but you could tackle this from the Wordpress side as I indicated. I've edited the answer to link to a Q&A that may help you find a way to designate the widget to show only on certain pages.  
  > **username_0**: Marking this Answered, and hoping that a better option becomes available.  Too much administration being introduced this way.  
  
  ---
  
  