Skip to content

Instantly share code, notes, and snippets.

@hzamani
Last active October 4, 2016 14:35
Show Gist options
  • Save hzamani/6b86be485b7ba8bf5b95 to your computer and use it in GitHub Desktop.
Save hzamani/6b86be485b7ba8bf5b95 to your computer and use it in GitHub Desktop.
Add bidi support to Google Keep
// ==UserScript==
// @name Google Keep Direction
// @namespace https://github.com/hzamani/
// @description Add bidi support to Google Keep
// @include https://keep.google.com*
// @run-at document-end
// @version 2.0
// ==/UserScript==
var tag = document.createElement('style');
var style = document.createTextNode(
'[contenteditable] { unicode-bidi: plaintext; }'
);
tag.appendChild(style);
document.head.appendChild(tag);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment