PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
plugins
/
vxcash
/
public
/
js
(function( $ ) { 'use strict'; /** * All of the code for your public-facing JavaScript source * should reside in this file. * * Note: It has been assumed you will write jQuery code here, so the * $ function reference has been prepared for usage within the scope * of this function. * * This enables you to define handlers, for when the DOM is ready: * * $(function() { * * }); * * When the window is loaded: * * $( window ).load(function() { * * }); * * ...and/or other possibilities. * * Ideally, it is not considered best practise to attach more than a * single DOM-ready or window-load handler for a particular page. * Although scripts in the WordPress core, Plugins and Themes may be * practising this, we should strive to set a better example in our own work. */ var wmid = vxcash_obj.wmid, vxCampaign = vxcash_obj.vxCampaignid, vxDirektLink = vxcash_obj.vxDirectLink, key = vxcash_obj.key, iframeEnd = '></iframe>'; function getVX(hostId, successUrl) { var url = '//zononi.com/VX/SI/Tiny?w=' + wmid + '&ws=' + vxCampaign + '&tc=000000&bg=ffffff&btbg=a1d691&btc=ffffff&key=' + key; if (typeof hostId !== 'undefined') { url += '&s=' + hostId; } if (typeof vxDirektLink !== 'undefined' && vxDirektLink !== '') { successUrl = vxDirektLink; if (typeof hostId !== 'undefined') { if (successUrl.indexOf('?') === -1) { successUrl += '?'; } else { successUrl += '&'; } successUrl += 's=' + hostId; } } if (typeof successUrl !== "undefined") { url += '&successUrl=' + encodeURIComponent(successUrl); } return '<h1>Jetzt anmelden</h1><iframe src="' + url + '" frameborder="0"'; } function showOverlay(iframe) { var w = $(window).width(), h = $(document).height(); if (w < 400) { w -= 20; } else { w = 400; } var html = '<div id="vxcashBlocker" style="height:' + h + 'px"><div id="vxcashPositioner"><a class="vxcashClose">X</a>' + iframe + ' width="' + w + '"' + iframeEnd + '</div></div>'; $('body').append(html); $('#vxcashBlocker').find('.vxcashClose').one('click', function (e) { e.preventDefault(); $('#vxcashBlocker').remove(); }); window.scrollTo(0,0); } if (vxcash_obj.linking === 'modal') { $(document).ready(function () { $('.single-livecams .cta, .single-livecams .col-md-8 a, .single-livecams .col-md-6 a, .single-pornos .cta, .single-pornos .bigVideoLink').not('.basCallBtn').on('click', function (e) { e.preventDefault(); var hostId = $(e.currentTarget).data('hostid'); showOverlay(getVX(hostId)); }); }) } $(document).ready(function () { $('.single-videos .cta,.single-videos .bigVideoLink').not('.porndoe').on('click', function (e) { e.preventDefault(); showOverlay(getVX(undefined, 'https://www.visit-x.net/de/videos/')); }); var $body = $('body'); $body.on('click', '.basStartBtn', function (e) { e.preventDefault(); var $me = $(this), $field = $me.prev('.code'), code = $field.val(); if (code.length !== 5) { alert("Dieser Code ist leider ungültig."); return; } $.post(vxcash_obj.ajax_url, { _ajax_nonce: vxcash_obj.nonce, action: 'get_bas_chat_page', code: code, url: window.location.href }, function (data) { if (data.status === 200) { window.location.href = data.url; } else { alert(data.text); } }, 'json') }) }) })( jQuery );
[-] bioep.min.js
[edit]
[-] vxcash-bas-online-checker.js
[edit]
[-] pu.js
[edit]
[-] service-worker.js
[edit]
[+]
..
[-] sockjs.js
[edit]
[-] vxcash-public.js
[edit]