Skip to content

Instantly share code, notes, and snippets.

@drakedevel
Created April 13, 2018 18:18
Show Gist options
  • Save drakedevel/de82f61b298cca175df3add695ad6af6 to your computer and use it in GitHub Desktop.
Save drakedevel/de82f61b298cca175df3add695ad6af6 to your computer and use it in GitHub Desktop.
Userscript to remove placeholder text in Dropbox Paper
// ==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