Last active
December 22, 2016 21:39
-
-
Save mertonium/7105554 to your computer and use it in GitHub Desktop.
The Featured Perspective javascript snippet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script data-electnext id="enxt-script" type="text/javascript"> | |
//<![CDATA[ | |
var _enxt = _enxt || []; | |
_enxt.push(['set_account', 'YOUR_API_KEY']); | |
_enxt.push(['set_article', 'YOUR_CMS_SPECIFIC_ARTICLE_ID']); | |
_enxt.push(['setup_featured_perspective']); | |
(function() { | |
var enxt = document.createElement('script'); enxt.type = 'text/javascript'; enxt.async = true; | |
enxt.src = '//versahq.com/api/v1/enxt.js'; var k = document.getElementById('enxt-script'); | |
k.parentNode.insertBefore(enxt, k); | |
})(); | |
//]]> | |
</script> | |
<noscript>Please enable JavaScript to view the <a href="https://versahq.com?utm_source=noscript&utm_medium=richardson_widget" target="_blank">featured perspectives by Versa.</a></noscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
John, I am curious what the next.js file is. I am researching some proxy traffic for my organization and we are seeing requests for "http://versahq.com/api/v1/enxt.js", but we are not sure what site is requesting this. The users did not manually request this traffic, so likely someone is referencing this URL somewhere. This seems to be the most likely place to request information as to what this is doing and why. We are attempting to identify source to determine / rule out whether it's malicious or not. Thanks for your help. --jl
Never mind, I found the referer. It was thehill.com. The versa page is 404 though.....FYI.