Post Reddit drafts by hand: Open in Reddit, Copy text, Mark as posted
Reddit now approves API apps before they get keys, so Supermarket may not be able to post there for a while. Each Reddit draft in the Inbox can be posted by hand instead: - Open in Reddit saves the edits and opens old.reddit.com's submit page for the subreddit in a new tab, with the title and text filled in, the source link added and own-site links UTM-tagged as publishing would. Links-only subreddits get a link post. Over ~7500 characters the text is left out of the address. - Copy text copies the draft's current text. - Mark as posted (with the post's link, optional) moves it to Published and into the Reddit history used for warnings. Copy buttons now copy a field's current value, not its first text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -365,3 +365,9 @@ form.inline { display: inline-block; margin: 0 0 0.75rem; }
|
||||
/* A sign-in running out */
|
||||
.reminder { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
|
||||
.reminder p { margin: 0; flex: 1; min-width: 16rem; }
|
||||
|
||||
/* Posting a Reddit draft by hand */
|
||||
.by-hand { border-top: 1px dashed hsl(var(--border)); margin-top: 0.75rem; padding-top: 0.75rem; }
|
||||
.by-hand p { margin: 0 0 0.5rem; }
|
||||
.by-hand-done { margin: 0.5rem 0 0.75rem; }
|
||||
.by-hand-done .row input { margin: 0; }
|
||||
|
||||
@@ -44,7 +44,9 @@
|
||||
if (copy) {
|
||||
var src = document.getElementById(copy.getAttribute("data-copy"));
|
||||
if (src && navigator.clipboard) {
|
||||
navigator.clipboard.writeText(src.textContent).then(function () {
|
||||
// A field's current value (with edits), else an element's text.
|
||||
var value = "value" in src ? src.value : src.textContent;
|
||||
navigator.clipboard.writeText(value).then(function () {
|
||||
var label = copy.textContent;
|
||||
copy.textContent = "Copied";
|
||||
setTimeout(function () { copy.textContent = label; }, 1500);
|
||||
|
||||
Reference in New Issue
Block a user