Skip to content

Instantly share code, notes, and snippets.

javascript: if(location.href.indexOf('clarin') > -1) { $("#colorbox").remove(); $("#cboxOverlay").remove(); } else { document.getElementsByClassName('modal-scrollable')[0].remove(); document.body.classList.remove('modal-open'); }
@eallegretta
eallegretta / gist:1e3a3db3b7b300473746
Created February 21, 2015 01:34
Clarin y La Nacion Fucker
javascript: if(location.href.indexOf('clarin') > -1) { $("#colorbox").remove(); $("#cboxOverlay").remove(); } else { document.getElementsByClassName('modal-scrollable')[0].remove(); document.body.classList.remove('modal-open'); }
@eallegretta
eallegretta / gist:5f2e78522bf9fa8c93b2
Last active February 23, 2017 21:36
Clarin y La Nacion Fucker
javascript: if(location.href.indexOf('clarin') > -1) { $("html").removeAttr('style'); $("#colorbox").remove(); $("#cboxOverlay").remove(); $('.mainPage').fadeTo(1); $('.mfp-wrap').remove(); $('.mfp-container').remove(); $('.mfp-bg').remove(); $('.lock').fadeTo(1).css('opacity', '1').removeClass('lock');} else { document.getElementsByClassName('modal-scrollable')[0].remove(); document.body.classList.remove('modal-open'); }
styles = '.btn-navigation { position: absolute !important; z-index:999 !important; right: 50px !important; background-color: greenyellow !important; bottom: -610px !important; } .ui-orientation-warning { display: none !important; } .with-fifa-header .view-root { height: 100%25 !important; } #FIFAHeader { display: none; }';
newSS = document.createElement('style');
newSS.innerText = styles;
document.documentElement.childNodes[0].appendChild(newSS);
var dme = function(t) {
var e = document.createEvent("MouseEvents");
e.initEvent.apply(e, Array.prototype.slice.call(arguments, 1));
t.dispatchEvent(e);
};
async Task Main()
{
if(!System.IO.Directory.Exists(_destinationFolder))
{
Directory.CreateDirectory(_destinationFolder);
}
foreach(var url in _urls)
{
await DownloadAsync(url);
class Persona {
constructor(nombre, edad, hobbies, amigos){
this.nombre = nombre;
this.edad = edad;
this.hobbies = hobbies || [];
this.amigos = amigos || [];
}
addFriend(nombre, edad){
@eallegretta
eallegretta / index.js
Last active September 27, 2022 16:48
Verificador Stock Album Mundial en ZonaKids
const axios = require("axios");
const parser = require("node-html-parser")
const notifier = require('node-notifier');
const urls = [
"https://www.zonakids.com/productos/pack-promo-1-album-tapa-dura-100-sobres-de-figuritas-fifa-world-cup-qatar-2022/",
"https://www.zonakids.com/productos/pack-promo-1-album-50-sobres-de-figuritas-fifa-world-cup-qatar-2022/",
"https://www.zonakids.com/productos/pack-promo-1-album-100-sobres-de-figuritas-fifa-world-cup-qatar-2022/"
];