Skip to content

Instantly share code, notes, and snippets.

View NaokiStark's full-sized avatar
Green ticks are cool

Lucía NaokiStark

Green ticks are cool
View GitHub Profile
@NaokiStark
NaokiStark / NotifyTaringa.user.js
Created October 13, 2015 05:59
Bienvenido a 2015 Taringa, esto lo hice hace tiempo....
// ==UserScript==
// @name Taringa browser notify
// @namespace http://taringa.net/nikumi
// @version 0.1
// @description Escriba algo util
// @author You
// @match http://www.taringa.net/*
// @grant none
// ==/UserScript==
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<h1>Tab sync</h1>
<p>This tab is: <span id="tType"></span></p>
var toSend={'msgSubject':'Asunto',
'msgText':'cuerpo',
'msgTo':'nick destinatario'};
$.post('/ajax/mp/compose',toSend,function(){/* callback */});
// ==UserScript==
// @name Coso que guarda el coso de comentar los shouts
// @namespace Naoko-
// @version 0.1
// @description lo del titulo
// @include http*://www.taringa.net/*
// ==/UserScript==
if (localStorage.getItem("TaringaPriv") ==null){
localStorage.setItem("TaringaPriv",0);
#page ~ *:not(.ui-widget-overlay), footer.contentinfo ~ *:not(.ui-widget-overlay){
display: inherit
}
script,style{
display: none!important;
}
// ==UserScript==
// @name Notis taringa
// @namespace http://www.taringa.net/maag-
// @description fixeo de notificaciones bug v6
// @author Maag
// @include http*://*.taringa.net*
// @run-at document-start
// @version 1
// ==/UserScript==
@NaokiStark
NaokiStark / asd.php
Last active January 20, 2016 23:39
<?php
$url = 'http://www.taringa.net/ajax/mentions/user';
$fields = array(
'uid' => '25854531' //Id del usuario
);
$fields_string="";
foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; }
rtrim($fields_string, '&');
//onResize Event for jQuery
//by FabiStark with ♥
//Easy way to use
/*
$('p').onResize().on('resize',function(event){
//You can handle this event
const serverURL = 'http://glacial-cove-76906.herokuapp.com';
getVotes= function(shoutId,cb){
$.get(serverURL+'/get-votes?shout_id='+shoutId,function(res,status){
return cb(res,status);
});
}
renderButtons = function(){
@NaokiStark
NaokiStark / content.js
Created February 24, 2016 04:02
fixed repeated buttons
const serverURL = 'http://glacial-cove-76906.herokuapp.com';
getVotes= function(shoutId,cb){
$.get(serverURL+'/get-votes?shout_id='+shoutId,function(res,status){
return cb(res,status);
});
}
renderButtons = function(){