Last active
April 22, 2018 05:05
-
-
Save drakedevel/b48b5f04db4cc285f3474b2543f74394 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.2 | |
// @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>"; | |
} | |
.task-placeholder.focused-line ul::before { | |
content: "<task>"; | |
} | |
`); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment