mirror of
https://github.com/moparisthebest/moparscape.org-smf
synced 2024-11-24 09:42:20 -05:00
Add fight215 script
This commit is contained in:
parent
61d12521a8
commit
0dc351fcbf
@ -447,7 +447,7 @@ function template_html_below()
|
|||||||
{
|
{
|
||||||
global $context, $settings, $options, $scripturl, $txt, $modSettings;
|
global $context, $settings, $options, $scripturl, $txt, $modSettings;
|
||||||
|
|
||||||
echo '
|
echo '<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/count.min.js" defer="defer"></script>
|
||||||
</body></html>';
|
</body></html>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -409,7 +409,7 @@ function template_html_below()
|
|||||||
{
|
{
|
||||||
global $context, $settings, $options, $scripturl, $txt, $modSettings;
|
global $context, $settings, $options, $scripturl, $txt, $modSettings;
|
||||||
|
|
||||||
echo '
|
echo '<script type="text/javascript" src="', $settings['default_theme_url'], '/scripts/count.min.js" defer="defer"></script>
|
||||||
</body></html>';
|
</body></html>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
1
Themes/default/scripts/count.min.js
vendored
Normal file
1
Themes/default/scripts/count.min.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
!function(){document.body.style.marginTop=0,document.body.style.marginRight=0,document.body.style.marginBottom=0,document.body.style.marginLeft=0,document.body.style.paddingTop=0,document.body.style.paddingRight=0,document.body.style.paddingBottom=0,document.body.style.paddingLeft=0;var t=document.createElement("iframe");t.src="https://www.fight215.org/count/index.html",t.width="100%",t.height="60px",t.frameBorder="0",t.setAttribute("allowTransparency","true"),t.setAttribute("scrolling","no"),t.style.position="absolute",t.style.top="0px",t.style.left="0px",t.style.zIndex="20000";var e=document.createElement("style"),o=document.createTextNode("body::before{content:'';height:60px;display:block}");e.type="text/css",e.appendChild(o),document.head.appendChild(e),document.body.insertBefore(t,document.body.firstChild)}();
|
Loading…
Reference in New Issue
Block a user