Brandom
Lambda
Verificado
Verificación en dos pasos activada
Verificado por Whatsapp
Verificado por Binance
¡Usuario popular!
Entonces que toca re-subir los archivos :S ?
use this for replace openload.co to oload.co
<script type="text/javascript">
//openload
$(function() {
var iframes = document.getElementsByTagName('iframe');
var key = /https:\/\/openload.co/;
for (var i = 0; i != iframes.length; ++i) {
var match = iframes[i].src.search(key);
if(match != -1) {
$(iframes[i]).attr('src', $(iframes[i]).attr('src').replace('openload.co', 'oload.co'));
}
}
});
</script>
it should work for every site.
PS: for embeds only. I think
<script type="text/javascript">
//openload
$(function() {
var a = document.getElementsByTagName('a');
var key = /https:\/\/openload.co/;
for (var i = 0; i != a.length; ++i) {
var match = a[i].href.search(key);
if(match != -1) {
$(a[i]).attr('href', $(a[i]).attr('href').replace('openload.co', 'oload.co'));
}
}
});
</script>
Para Embeds
Insertar CODE, HTML o PHP:use this for replace openload.co to oload.co <script type="text/javascript"> //openload $(function() { var iframes = document.getElementsByTagName('iframe'); var key = /https:\/\/openload.co/; for (var i = 0; i != iframes.length; ++i) { var match = iframes[i].src.search(key); if(match != -1) { $(iframes[i]).attr('src', $(iframes[i]).attr('src').replace('openload.co', 'oload.co')); } } }); </script> it should work for every site. PS: for embeds only. I think
Para Lives Links
Insertar CODE, HTML o PHP:<script type="text/javascript"> //openload $(function() { var a = document.getElementsByTagName('a'); var key = /https:\/\/openload.co/; for (var i = 0; i != a.length; ++i) { var match = a[i].href.search(key); if(match != -1) { $(a[i]).attr('href', $(a[i]).attr('href').replace('openload.co', 'oload.co')); } } }); </script>
igual no me funciona ese script
Yo no lo copie, mira el código, esta en el footer.
Pero aun aparece como caido openload en esa páginaYo no lo copie, mira el código, esta en el footer.
ahora si me perdi mas, como que no lo copiaste :ambivalence:
function replace_content($content)
{
$content = str_replace('###replaceme###', 'something_else',$content);
return $content;
}
add_filter('the_content','replace_content');
UPDATE `wp_posts` SET `post_content`=REPLACE(`post_content`,'openload.co','openload.io') WHERE 1
yo con el script puede usarlo para mi paste pero en el iframe no me funciona consegui este functions para wp pero pues como como se del tema no se pero sin embargo lo comparto y de paso si me pueden ayudar les agradeceria
Insertar CODE, HTML o PHP:function replace_content($content) { $content = str_replace('###replaceme###', 'something_else',$content); return $content; } add_filter('the_content','replace_content');
Stick that in a plugin or in your theme's functions.php file and voila.
Instead of using str_replace, you can also use preg_replace or any sort of PHP code you like to modify the $content string.
function replace_content($content)
{
$content = str_replace('openload.co', 'openload.io',$content);
return $content;
}
add_filter('the_content','replace_content');
<script type="text/javascript">
//openload
$(function() {
var iframes = document.getElementsByTagName('iframe');
var key = /https:\/\/openload.co/;
for (var i = 0; i != iframes.length; ++i) {
var match = iframes.src.search(key);
if(match != -1) {
$(iframes).attr('src', $(iframes).attr('src').replace('openload.co', 'oload.co'));
}
}
});
</script>
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?