This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
<script> | |
window.onload = function() { | |
var listaRealizados = document.querySelectorAll('.listarealizados h2'); | |
var eventos = document.querySelector('#eventos'); | |
for (var i = 0; i < listaRealizados.length; i++) { | |
var texto = listaRealizados[i].textContent; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
<script> | |
window.onload = function() { | |
var idpost = parseInt(document.getElementById('idpost').textContent); | |
var eventos = document.getElementById('eventos'); | |
var eventoencontrado = eventos.querySelector('option[value="' + idpost + '"]'); | |
eventos.innerHTML = ''; | |
eventos.appendChild(eventoencontrado); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
<script> | |
jQuery(document).ready(function(){ | |
jQuery('.produto').each(function(){ | |
var nome = jQuery(this).find('.nome-produto').text(); | |
var desc = jQuery(this).find('.desc-produto').text(); | |
var valor = jQuery(this).find('.valor-produto').text(); | |
var ref = jQuery(this).find('.ref-produto').text(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
<?php | |
//CARGA DOS DADOS PARA FUNÇÃO | |
$name ='TURBOLINO VALMERTIL'; | |
$phone ="5522982085512"; | |
$tag ="1"; | |
$user ="1"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
function enviarMensagem(){ | |
var celular = "5519998021956"; | |
var texto = "Texto que eu vou enviar \n com quebras de \n texto."; | |
texto = window.encodeURIComponent(texto); | |
window.open("https://api.whatsapp.com/send?phone=" + celular + "&text=" + texto, "_blank"); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
<script> | |
jQuery(document).ready(function(){ | |
jQuery('.produto').each(function(){ | |
var nome = jQuery(this).find('.nome-produto h2').text(); | |
var desc = jQuery(this).find('.desc-produto h2').text(); | |
var valor = jQuery(this).find('.valor-produto h2').text(); | |
var ref = jQuery(this).find('.ref-produto h2').text(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
<script> | |
var dia_semana = new Date().toLocaleString('pt-BR', {weekday: 'short'}).replace('.', ''); | |
var hora_atual_inicial = dia_semana+'-ini'; | |
var hora_atual_final = dia_semana+'-fim'; | |
var hora_inicial = jQuery('.'+hora_atual_inicial+' h2').text(); | |
var hora_final = jQuery('.'+hora_atual_final+' h2').text(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Password Generator</title> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
/* declare o id css #voltar no componente que deseja clicar */ | |
<script> | |
jQuery(document).ready(function(){ | |
jQuery('#voltar a').attr('href','javascript:history.back(-1);'); | |
}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*BY: ASK JARVIS + DANTE TESTA */ | |
//Se a pagina anterior for diferente do dominio do site ele redireciona para home, senão volta apenas 1 pagina anterior | |
<script> | |
jQuery(document).ready(function(){ | |
var url = window.location.href; | |
var url_anterior = document.referrer; |