Skip to content

Instantly share code, notes, and snippets.

View AoDev's full-sized avatar

AoDev AoDev

View GitHub Profile
@AoDev
AoDev / rem-facebook-ads.js
Created July 10, 2017 12:22
Remove facebook ads from timeline
// Remove the ads in your Facebook timeline.
// Depending on the language you use in FB, you will need to update the keyWord.
// The keyWord is the title used in facebook ads. Everytime this title is found,
// the corresponding content will be removed from the timeline.
// You can also adjust the check interval, it depends on how fast you scroll
// the content usually.
// How to use:
// - You can use a browser extension that injects that script into the page.
@AoDev
AoDev / keybase.md
Created September 10, 2019 20:31
keybase.md

Keybase proof

I hereby claim:

  • I am aodev on github.
  • I am aodev (https://keybase.io/aodev) on keybase.
  • I have a public key ASB-4AXwYb-FxnAd84VhuCe_fbfpmbqHotlGMjN5fdTbZgo

To claim this, I am signing this object:

@AoDev
AoDev / googleformscrapper.js
Last active January 13, 2024 17:27
Scrap and parse a Google form
;(function () {
const QUESTION_WRAPPER_SELECTOR = '.freebirdFormeditorViewItemContent'
const QUESTION_INFO_SELECTOR = '.quantumWizTextinputPapertextareaInput.exportTextarea'
const QUESTION_ANSWER_SELECTOR = '.quantumWizTextinputSimpleinputInput.exportInput'
const SECTION_SELECTOR = '.freebirdFormeditorViewPagePageCard'
const SECTION_HEADER_SELECTOR = '.freebirdFormeditorViewPageTitleAndDescription'
function findElements (selector, element = window.document) {
return [].slice.call(element.querySelectorAll(selector))
}