Last active
August 29, 2015 14:28
-
-
Save pbuzdin/f28cca91642f73faa929 to your computer and use it in GitHub Desktop.
lifter.com.ua assets loader
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
<script type="application/javascript"> | |
(function(d){ | |
var scripts = {"gl":d.createElement("script"), "fb":d.createElement("script"), "cbb":d.createElement("script"), "tpl":d.createElement("script")}; | |
var stls = {"ico":d.createElement("link"), "tpl":d.createElement("link"), "sns":d.createElement("link"), "unt":d.createElement("link")}; | |
stls.ico.rel="icon"; | |
stls.ico.type="image/png"; | |
stls.tpl.rel = stls.sns.rel = stls.unt.rel ="stylesheet"; | |
stls.tpl.type = stls.sns.type = stls.unt.type ="text/css"; | |
stls.ico.href="/tpls/lifter/imgs/favicons.png"; | |
stls.sns.href="http://fonts.googleapis.com/css?family=Open+Sans&subset=latin,cyrillic"; | |
stls.unt.href="http://fonts.googleapis.com/css?family=Ubuntu+Condensed&subset=latin,cyrillic"; | |
stls.tpl.href="/tpls/lifter/wide.css"; | |
for(var key in stls) d.head.appendChild(stls[key]); | |
scripts.gl.async = scripts.fb.async = true; | |
scripts.fb.id = "facebook-jssdk"; | |
scripts.gl.src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"; | |
scripts.fb.src = "//connect.facebook.net/ru_RU/sdk.js"; | |
scripts.cbb.src = "/js/C-BBLe-2_0.js"; | |
scripts.tpl.src = "/tpls/lifter/template.js?feed=1"; | |
for(var key in scripts) d.head.appendChild(scripts[key]); | |
}(document)); | |
window.fbAsyncInit=function(){ | |
FB.init({ | |
appId:"119878838351040", | |
//xfbml:true, | |
cookie:true, | |
status:true, | |
version:"v2.4" | |
}); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment