mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
Update
This commit is contained in:
parent
8ed0325a38
commit
2ff7c63478
3 changed files with 1 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -39,11 +39,6 @@ if (empty($advancedCustom)) {
|
|||
}
|
||||
?>
|
||||
</footer>
|
||||
<?php
|
||||
if(isBot()){
|
||||
return false;
|
||||
}
|
||||
?>
|
||||
<script>
|
||||
$(function () {
|
||||
/** showAlertMessage **/
|
||||
|
|
|
@ -5,9 +5,6 @@ if (!isset($global['systemRootPath'])) {
|
|||
$firstTimeLoading = 0;
|
||||
require_once '../videos/configuration.php';
|
||||
}
|
||||
if (isBot()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$videos_id = getVideos_id();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue