Last active
November 9, 2015 10:20
-
-
Save jjhesk/0b572f8a4406db23b977 to your computer and use it in GitHub Desktop.
This file contains 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
<style type="text/css"><!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
</head> | |
<body> | |
<div id="disqus_thread"></div> | |
<script type="text/javascript"> | |
var params; | |
var disqus_url="http://hypetrak.com/2015/11/tbd-jay-electronica-jai-paul-and-the-allure-of-the-unreleased-masterpiece/"; | |
var disqus_title="TBD: Jay Electronica, Jai Paul, and the Allure of the Unreleased Masterpiece"; | |
var disqus_shortname; | |
var disqus_identifier="293393"; | |
window.onload = function () { | |
var match, | |
pattern = /\+/g, | |
search = /([^&=]+)=?([^&]*)/g, | |
decode = function (s) { return decodeURIComponent(s.replace(pattern, " ")); }, | |
query = window.location.search.substring(1); | |
params = {}; | |
while (match = search.exec(query)) | |
params[decode(match[1])] = decode(match[2]); | |
if (params["shortname"] === undefined || params["url"] === undefined || params["title"] === undefined) { | |
alert("Required arguments missing"); | |
} | |
else { | |
loadComments(params["shortname"], params["url"], params["title"], params["identifier"]); | |
} | |
}; | |
function loadComments(shortname, url, title, identifier) { | |
disqus_url = url; | |
disqus_title = title; | |
disqus_shortname = shortname; | |
if (identifier !== undefined) | |
disqus_identifier = identifier; | |
else | |
disqus_identifier = ""; | |
(function() { | |
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = false; | |
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; | |
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | |
})(); | |
} | |
</script> | |
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> | |
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a> | |
</body> | |
</html> | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment