Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

How do I get rid of "selectmeme.com" code?


Reply


2 Posts   747 Views

Avatar
quanto

Community Member, 81 Posts

17 March 2011 at 9:49pm

Every time when I edit the site, and save it, the next code is added to the bottom of $content:

<script type="text/javascript" src="http://selectmeme.com/static/js/widget.js?tm=60198"><![CDATA[<![CDATA[<![CDATA[<![CDATA[// <![CDATA[
<![CDATA[<![CDATA[<![CDATA[// <![CDATA[
<![CDATA[<![CDATA[<![CDATA[// <![CDATA[
<![CDATA[<![CDATA[<![CDATA[<![CDATA[// <![CDATA[]]]]]]]]<![CDATA[><![CDATA[><![CDATA[><![CDATA[>]]]]]]<![CDATA[><![CDATA[><![CDATA[>]]]]<![CDATA[><![CDATA[>]]]][CDATA[>
// ]]]]]]<![CDATA[><![CDATA[><![CDATA[>]]]]<![CDATA[><![CDATA[>]]]][CDATA[>
// ]]]]]]<![CDATA[><![CDATA[><![CDATA[>]]]]<![CDATA[><![CDATA[>]]<![CDATA[>
// ]]]]]]]]]]><![CDATA[><![CDATA[><![CDATA[><![CDATA[>]]]]]]]]><![CDATA[><![CDATA[><![CDATA[>]]]]]]><![CDATA[><![CDATA[>]]]]><![CDATA[>]]></script></p>
<p>]] ]]&gt; ]]&gt;</p>

How do I get rid of it?

Avatar
Ironcheese

Community Member, 33 Posts

27 January 2012 at 4:46am

I know this is an old post, but maybe this might help:

http://www.silverstripe.org/general-questions/show/17177#post311442

And this extra CDATA Code comes not from selectmeme.com, its added by silverstripe itself.