Skip to content

Instantly share code, notes, and snippets.

View deifos's full-sized avatar

Vlad deifos

  • Montreal
View GitHub Profile
// ==UserScript==
// @name Hide Links From Mainstream Media
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Hides all links from mainstream media websites on news.ycombinator
// @match https://news.ycombinator.com/*
// @grant none
// ==/UserScript==
(function() {
@keesiemeijer
keesiemeijer / youtube-remove-ads.js
Last active October 19, 2022 20:57
Youtube skip ads and remove overlay ads after 3 seconds
// ==UserScript==
// @name Youtube SkipAd
// @namespace keesiemeijer
// @version 0.1
// @description Automatically skips ads after 5 seconds
// @author keesiemeijer
// @match https://www.youtube.com/*
// @grant none
// ==/UserScript==
@McKinneyDigital
McKinneyDigital / share-twitter.js
Created June 6, 2012 20:21
Share to Twitter from a link using Javascript
// Opens a pop-up with twitter sharing dialog
var url = "http://google.com";
var text = "Replace this with your text";
window.open('http://twitter.com/share?url='+encodeURIComponent(url)+'&text='+encodeURIComponent(text), '', 'left=0,top=0,width=550,height=450,personalbar=0,toolbar=0,scrollbars=0,resizable=0');