AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.193
Web Server : Apache
System : Linux webm006.cluster103.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : awebpaca ( 35430)
PHP Version : 8.5.0
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/a/w/e/awebpaca/piwik/plugins/TagManager/Template/Tag/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/a/w/e/awebpaca/piwik/plugins/TagManager/Template/Tag/ShareaholicTag.web.js
(function () {
    return function (parameters, TagManager) {
        this.fire = function () {
            var siteId = parameters.get('shareaholicSiteId');
            if (siteId) {
                // should result in a <script> like this:
                // &lt;script type="text/javascript" data-cfasync="false" src="//apps.shareaholic.com/assets/pub/shareaholic.js" data-shr-siteid="[SITEID]" async="async"&gt;&lt;/script&gt;

                var script = document.createElement('script');
                var s = document.getElementsByTagName('script')[0];
                script.type = 'text/javascript';
                script.async = true;
                script.setAttribute('data-cfasync', 'false');
                script.setAttribute('data-shr-siteid', siteId);
                script.src = '//apps.shareaholic.com/assets/pub/shareaholic.js';
                s.parentNode.insertBefore(script, s);
                var inPageApp = parameters.get('shareaholicInPageApp');
                if (inPageApp) {
                    var AppID = parameters.get('shareaholicAppId');
                    var parentSelector = parameters.get('shareaholicParentSelector');
                    if (inPageApp !== 'total_share_count' && !AppID) {
                        TagManager.debug.error('this In-Page App requires an AppID');
                        return false;
                    }
                    if (!parentSelector) {
                        TagManager.debug.error('you have to specify a Parent Selector to place the In-Page App onto your website');
                        return false;
                    }
                    var parent = TagManager.dom.bySelector(parentSelector);
                    if (parent) {
                        var div = document.createElement('div');
                        div.className = 'shareaholic-canvas';
                        div.setAttribute('data-app', inPageApp);
                        if (AppID) {
                            div.setAttribute('data-app-id', AppID);
                        }
                        parent[0].appendChild(div)
                    }
                }
            }
        };
    };
})();

Anon7 - 2022
AnonSec Team