Skip to content

Instantly share code, notes, and snippets.

View StephanStanisic's full-sized avatar

Stephan Stanisic StephanStanisic

View GitHub Profile
@StephanStanisic
StephanStanisic / tasker.user.js
Last active February 13, 2020 11:42
Userscript for nice tasker
// ==UserScript==
// @name Tasker UI update
// @namespace https://stephanstanisic.nl/
// @version 0.6
// @description Adds some js/css to tasker's ui to make it usable
// @author Stephan Stanisic
// @match https://studychain.nl/*
// @grant none
// @updateURL https://gist.github.com/StephanStanisic/c687fd5aa198187a31692283e3fd3218/raw/tasker.user.js
// @downloadURL https://gist.github.com/StephanStanisic/c687fd5aa198187a31692283e3fd3218/raw/tasker.user.js
@StephanStanisic
StephanStanisic / darktheme-elo.user.js
Last active February 25, 2019 21:00
ELO Dark Theme Userscript. Click RAW in the right corner to install. Needs tampermonkey and userscript version of ELO.
// ==UserScript==
// @name ELO Darktheme
// @namespace https://gist.github.com/StephanStanisic/
// @description Make's the great ELO dark. Only compatiable with the userscript version of the ELO. (https://github.com/Bloemendaal/Windesheim-ELO/blob/master/userscript/MDELO.user.js)
// @author Stephan Stanisic
// @downloadURL https://gist.github.com/StephanStanisic/c4fc6d497be3032042b229e699781900/raw/darktheme-elo.user.js
// @updateURL https://gist.github.com/StephanStanisic/c4fc6d497be3032042b229e699781900/raw/darktheme-elo.user.js
// @supportURL https://stst.ga/
// @version 1.0.6
@StephanStanisic
StephanStanisic / change_status.js
Last active August 29, 2016 17:05
Change your whatsapp status to a random new one each time you start whatsapp web. For Tampermonkey
// ==UserScript==
// @name Change Status
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://web.whatsapp.com/*
// @grant none
// ==/UserScript==
@StephanStanisic
StephanStanisic / omegle cleverbot.js
Created June 6, 2016 06:40
Cleverbot omegle intergration
// ==UserScript==
// @name Omegle
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match http://www.omegle.com/
// @grant none
// @run-at document-idle
// ==/UserScript==
function setfakeUrl(title, url){
document.title = title;
window.history.pushState({"html":document.body.innerHTML,"pageTitle":document.title},"", urlPath);
}
@StephanStanisic
StephanStanisic / notivications.css
Created March 27, 2016 11:14
CSS Notivications (dimissable)
.n {
border: 1px solid;
border-color: rgba(0,0,0,1);
background-color: rgba(0,0,0,0.3);
background-repeat: no-repeat;
background-position: 10px center;
background-size: 30px 30px;
color: rgba(0,0,0,1);
padding: 10px 10px 10px 50px;
@StephanStanisic
StephanStanisic / Tlk.io Spammer.md
Last active February 24, 2016 16:42
A tlk.io spammer for tampermonkey

#Tlk.io spammer A simple and elegant tlk.io spammer
Features:

  • Simple design (none)
  • Custum interval in miliseconds
  • Markdown supported

##How to install

  1. Go to "http://tlk.io"
  2. Click your tampermonkey icon in the right upper corner
@StephanStanisic
StephanStanisic / spammer.js
Last active March 11, 2023 18:55
Whatsapp spammer for tampermonkey: With GUI!
// ==UserScript==
// @name w8pp spammer
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://web.whatsapp.com/
// @grant none
// ==/UserScript==
"use strict";function send(e){document.getElementsByClassName("pane-header pane-chat-header")[0].getElementsByClassName("emojitext ellipsify")[0].innerHTML==whitelist&&(document.getElementsByClassName("icon icon-smiley btn-emoji")[0].click(),document.getElementsByClassName("input")[1].innerHTML=e,document.getElementsByClassName("menu-item")[pagee].click(),document.getElementsByClassName("emojik emojiordered"+emoji)[0].click(),document.getElementsByClassName("icon btn-icon icon-send send-container")[0].click())}function addListeners(){document.getElementById("dyx").addEventListener("mousedown",mouseDown,!1),window.addEventListener("mouseup",mouseUp,!1)}function mouseUp(){window.removeEventListener("mousemove",divMove,!0)}function mouseDown(e){window.addE
@StephanStanisic
StephanStanisic / url shortener.js
Last active March 27, 2016 11:03
url shortener, open source, php and js
function short(urltoshort) {
// Our ajax request
var xmlhttp;
if (window.XMLHttpRequest) {
// Default browsers
xmlhttp = new XMLHttpRequest();
} else {
// Fallback for IE
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
}
@StephanStanisic
StephanStanisic / tinyurl.md
Last active March 27, 2016 11:02
Tinyurl php function, a simple 5-line url shortner! PHP url shortner - JavaScript url shortner

#The most simple PHP url shortner! This code uses tinyurl.com to short urls, so thanks to the cretor of the awesome site.
Looking for a JS version? Go here: https://gist.github.com/StephanStanisic/b7017b1a8cd3c785e332. I also have a PHP version there (one line!).

##Usage:
tinyurl("http://google.com") returns http://tinyurl.com/2tx
tinyurl("http://github.com") returns http://tinyurl.com/2lekkm

##Sample application