Created
July 17, 2020 21:50
-
-
Save 0x4a/7b11e030f371771af66497388c576c1f to your computer and use it in GitHub Desktop.
#userscript for #facebook to delete comments in bulk
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name facebook_deleteComments | |
// @namespace 0x4a.net | |
// @version 0.1.0 | |
// @description lets see what we can do | |
// @author Daniel Jackel | |
// @copyright 2020, Daniel Jackel (dev@0x4a.net) | |
// @license MIT | |
// @include https://www.facebook.com/*/allactivity | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js | |
// @icon https://facebook.com/favicon.ico | |
// @downloadURL https://gist.github.com/0x4a/ | |
// @grant GM.getValue | |
// @grant GM.setValue | |
// @grant GM.addStyle | |
// @run-at document-end | |
// ==/UserScript== | |
var $ = window.jQuery; | |
this.$ = this.jQuery = jQuery.noConflict(true); | |
// setup previous run-state | |
(async () => { | |
var running = await GM.getValue('0x4a.facebook_deleteComments.active', false); | |
// display enhancements only if running | |
})(); | |
(function(){ | |
addTopmenu(); | |
setupCSS(); | |
})(); | |
function addTopmenu() { | |
console.log("started"); | |
} | |
function setupCSS() { | |
console.log("do we need css?"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment