Skip to content

Instantly share code, notes, and snippets.

@vachzar
vachzar / CinepolisCitySelector.user.js
Created June 6, 2022 10:08
automatically select a City on schedule page at Cinepolis
// ==UserScript==
// @name Cinepolis City Default Selector
// @namespace vachzar/CinepolisCitySelector
// @version 0.1
// @license DBAD
// @description automatically select a City on schedule page
// @author vachzar
// @match https://cinepolis.co.id/Schedule.aspx
// @icon https://www.google.com/s2/favicons?sz=64&domain=co.id
// @grant none
// ==UserScript==
// @name mocolebih
// @namespace http://vachzar.com/mocolebih
// @description membaca lebih web-web berita ampas
// @include http://*.tribunnews.com/*
// @version 2
//updateURL1 https://gist.github.com/vachzar/d143c2ba4cd64934f13d/raw/6889bf09034252e6a9a70849dd8f825f4f365e69/MocoLebih.user.js
// @grant none
// @author vachzar
// @require https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
@vachzar
vachzar / InviteAll.js
Last active August 29, 2015 14:26
Invite all friends to like FB Pages
javascript: var inputs = document.getElementsByClassName('_2aks'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }
//confirm all friend request
javascript: function removeElementsByClass(className){var elements = document.getElementsByClassName(className);while(elements.length > 0){elements[0].parentNode.removeChild(elements[0]);}} removeElementsByClass('mbl _30d _5n-u'); var inputs = document.getElementsByClassName('_42ft _4jy0 _4jy3 _4jy1 _51sy'); for(var i=0; i<inputs.length;i++) { inputs[i].click(); }
<?php
/**
* Simple excel writer class with no external dependencies, drop it in and have fun
* @author Matt Nowack
* @license Unlicensed
* @version 1.0
*/
class Excel {
private $col;