1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
Daniel Neto 2023-10-09 15:10:36 -03:00
parent 8ed0325a38
commit 2ff7c63478
3 changed files with 1 additions and 10 deletions

View file

@ -809,8 +809,7 @@ class Layout extends PluginAbstract
preg_match('/<script async/i', $tag) ||
preg_match('/doNotSepareteTag/', $tag) ||
preg_match('/window.googletag/', $tag) ||
preg_match('/document\.write/', $tag) ||
isBot()
preg_match('/document\.write/', $tag)
) {
return true;
}

View file

@ -39,11 +39,6 @@ if (empty($advancedCustom)) {
}
?>
</footer>
<?php
if(isBot()){
return false;
}
?>
<script>
$(function () {
/** showAlertMessage **/

View file

@ -5,9 +5,6 @@ if (!isset($global['systemRootPath'])) {
$firstTimeLoading = 0;
require_once '../videos/configuration.php';
}
if (isBot()) {
return;
}
$videos_id = getVideos_id();