Created
February 27, 2020 07:31
-
-
Save mechamug/0f5e066003e3b03baac0610691f6aa9c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 Minds Extensions | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.minds.com/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var input = document.getElementById('message'); | |
input.onkeydown = function(e) { | |
if (e.metaKey == true && e.key == 'Enter') { | |
var post = document.querySelector('button.m-posterActionBar__PostButton'); | |
post.click(); | |
} | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment