mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-25 00:48:53 -05:00
11 lines
491 B
Plaintext
11 lines
491 B
Plaintext
:javascript
|
|
(function() {
|
|
var links = document.getElementsByTagName('a');
|
|
var query = '?';
|
|
for(var i = 0; i < links.length; i++) {
|
|
if(links[i].href.indexOf('#disqus_thread') >= 0) {
|
|
query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
|
|
}
|
|
}
|
|
document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/#{page.disqus_short_name}/get_num_replies.js' + query + '"></' + 'script>');
|
|
})(); |