Skip to content

Instantly share code, notes, and snippets.

@one2Ter
one2Ter / Remove_Google_Ad.user.js
Created January 4, 2022 13:38 — forked from JamoCA/Remove_Google_Ad.user.js
Greasemonkey script to remove Google Ads
// ==UserScript==
// @name GoogleNoAds
// @namespace gist.github.com/JamoCA/99505f3dad38f23d3dcaa73a4eb6d030
// @description Remove inline ads from Google
// @include https://www.google.com/
// @version 1.1
// @grant none
// ==/UserScript==
// ==/UserScript==
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
@one2Ter
one2Ter / 0.README.md
Created March 18, 2018 12:54 — forked from agentcooper/0.README.md
Telegram chat backup/export

How to use

  1. Login to https://web.telegram.org
  2. Copy-paste contents of telegram-scripts.js into JS console
  3. Run showContacts() to get the list of contacts with ids
  4. Run saveChat(userId) where userId is the id from step 3

Process can take a while, check console for progress. Occasionall FLOOD_WAIT errors are expected. Once done, browser will download the JSON file.

Motivation