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:
I hereby claim:
To claim this, I am signing this object:
// 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. |
;(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)) | |
} |