Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blogger New Post Shortcuts TM

// ==UserScript==
// @name Blogger
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.blogger.com/*
// @grant none
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js
// @noframes
// ==/UserScript==
var $=window.jQuery;
function sleep(s) {
return new Promise(r => setTimeout(r, 1000*s));
}
(async function() {
'use strict';
await sleep(1);
var t=document.querySelector('.gb_ke');if(t)t.remove();
// Your code here...
})();

document.onkeydown=function(e){
if (e.altKey && e.key=='z'){ //shift tab then (enter or alt z) to html again
$('.tabs .selected').siblings()[0].click();
} else if (e.altKey && e.key=='p'){
$('.blogg-primary')[0].click();
}else if (e.altKey && e.key=='l'){
$('div.optionHolder a')[1].click();
}else if (e.altKey && e.key=='x'){
$('input')[2].focus();
}
else if (e.altKey && e.key=='k'){
postingHtmlBox.value='
'+postingHtmlBox.value.replace(/,'';
postingHtmlBox.setSelectionRange(12, 12);
}
}


This post first appeared on SMARTMANOJ, please read the originial post: here

Share the post

Blogger New Post Shortcuts TM

×

Subscribe to Smartmanoj

Get updates delivered right to your inbox!

Thank you for your subscription

×