Last active
October 4, 2016 14:35
-
-
Save hzamani/6b86be485b7ba8bf5b95 to your computer and use it in GitHub Desktop.
Add bidi support to Google Keep
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 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