Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save motemen/475481 to your computer and use it in GitHub Desktop.
Save motemen/475481 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Hatena Diary Edit-In-Place No Toolbar
// @namespace http://d.hatena.ne.jp/motemen/
// @include http://d.hatena.ne.jp/*/
// ==/UserScript==
unsafeWindow.Hatena.Diary.EditInPlace.Form.addEventListener(
'create',
function (form) {
var toolbar = form.element.querySelector('div.edit-in-place-toolbar');
toolbar.parentNode.removeChild(toolbar);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment