Created
April 13, 2018 18:18
-
-
Save drakedevel/de82f61b298cca175df3add695ad6af6 to your computer and use it in GitHub Desktop.
Userscript to remove placeholder text in Dropbox Paper
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 De-inspire Paper | |
// @namespace https://hax.so/ | |
// @version 0.1 | |
// @description Remove placeholder text in Dropbox Paper | |
// @author Andrew Drake <adrake@adrake.org> | |
// @match https://paper.dropbox.com/doc/* | |
// @grant GM_addStyle | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
GM_addStyle(` | |
#editor-1 .editor-blank-title > div.ace-line:first-child::before { | |
content: "<Title>"; | |
} | |
#editor-1 .editor-blank-text > div.ace-line:first-child + div.ace-line::before { | |
content: "<content>"; | |
} | |
`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment