Created
January 16, 2012 00:36
-
-
Save allen/1618229 to your computer and use it in GitHub Desktop.
XSLT Utility: Enkoder
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
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
<xsl:template name="enkoder"> | |
<script type="text/javascript"> | |
<xsl:text disable-output-escaping="yes">
//<![CDATA[
</xsl:text> | |
<xsl:comment> | |
<xsl:text>
<![CDATA[var x="function f(x){var i,o=\"\",ol=x.length,l=ol;while(x.charCodeAt(l/13)!" +]]></xsl:text> | |
<xsl:text>
<![CDATA["=48){try{x+=x;l+=l;}catch(e){}}for(i=l-1;i>=0;i=i-1){o+=x.charAt(i);}return o" +]]></xsl:text> | |
<xsl:text>
<![CDATA[".substr(0,ol);}f(\")001,\\\"771\\\\syhb100\\\\_220\\\\000\\\\VUZ620\\\\RZEY" +]]></xsl:text> | |
<xsl:text>
<![CDATA["RJTpJB]AJRL620\\\\500\\\\z700\\\\x630\\\\GMTvj=>Gwv{9syd~siuOka|fkqm=iqhjcl" +]]></xsl:text> | |
<xsl:text>
<![CDATA["\\\"\\\\\\\"\\\\@230\\\\630\\\\010\\\\120\\\\X620\\\\JW\\\\\\\\530\\\\630\\" +]]></xsl:text> | |
<xsl:text>
<![CDATA["\\420\\\\400\\\\600\\\\430\\\\230\\\\B730\\\\400\\\\410\\\\500\\\\220\\\\50" +]]></xsl:text> | |
<xsl:text>
<![CDATA["0\\\\n\\\\000\\\\\\\"(f};o nruter};))++y(^)i(tAedoCrahc.x(edoCrahCmorf.gnir" +]]></xsl:text> | |
<xsl:text>
<![CDATA["tS=+o;721=%y;2=*y))y+001(>i(fi{)++i;l<i;0=i(rof;htgnel.x=l,\\\"\\\"=o,i rav" +]]></xsl:text> | |
<xsl:text>
<![CDATA["{)y,x(f noitcnuf\")" ;]]></xsl:text> | |
<xsl:text>
<![CDATA[while(x=eval(x));]]></xsl:text> | |
<xsl:text>
<![CDATA[//]]></xsl:text> | |
</xsl:comment> | |
<xsl:text disable-output-escaping="yes">
//]]>
</xsl:text> | |
</script> | |
</xsl:template> | |
</xsl:stylesheet> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment