Extension talk:TyntBackLinks

From mediawiki.org
Latest comment: 11 years ago by Paulreed in topic Doesnt work...

Installation page needs updating:

Current code from http://id.tynt.com contains single quotes which will break the installation as currently described.

Easy fix is to escape all double quotes:

if(document.location.protocol=='http:'){
 var Tynt=Tynt||[];Tynt.push('anJ4cDuSSSr3zcqacwfm_42');
Tynt.i={\"ap\":\"Read more:\",\"aw\":\"24\",\"st\":true,\"cc\":\"2...etc.

Also popup does not work using this extension.

--CookipediaChef 10:16, 8 February 2012 (UTC)Reply

Doesnt work...[edit]

My Tynt code is

<script type="text/javascript"> if(document.location.protocol=='http:'){ var Tynt=Tynt||[];Tynt.push('cAe5WESDOr4xxUacwqm_6r');Tynt.i={"ap":"Read more:"}; (function(){var s=document.createElement('script');s.async="async";s.type="text/javascript";s.src='http://tcr.tynt.com/ti.js';var h=document.getElementsByTagName('script')[0];h.parentNode.insertBefore(s,h);})(); } </script>

I tried adding a \ in front of every double quote, but it still didnt work.


Has anyone got this to work yet?--Paulreed (talk) 18:24, 8 January 2013 (UTC)Reply