Permite volver a Taringa V6
当前为
// ==UserScript==
// @name Taringa V6
// @namespace https://greasyfork.org/es/users/205385-xarkox
// @description Permite volver a Taringa V6
// @compatible firefox
// @compatible chrome
// @compatible opera
// @match *://*.taringa.net/*
// @version 1.0
// @license GPLv3
// @grant none
// @require https://code.jquery.com/jquery-3.3.1.min.js
// @require https://cdn.jsdelivr.net/npm/js-cookie@2/src/js.cookie.min.js
// ==/UserScript==
this.$ = this.jQuery = jQuery.noConflict(true);
function taringa_v6(){
var cookie=Cookies.get('taringaClassic');
if(cookie === "false" || cookie === undefined){
Cookies.set('taringaClassic', 'true', { path: '/', domain: '.taringa.net', hostOnly: 'false', expires: 1 });
if(window.location.pathname === "/"){
window.location.reload(true);
}
else{
window.location.replace('https://www.taringa.net/');
}
}
}
$(window).on('load', function () {
taringa_v6();
});