Reddit-Enhancement-Suite
Reddit-Enhancement-Suite copied to clipboard
nothingHere: CTAs to go somewhere else
When a post listing returns "there doesn't seem to be anything here", e.g. URLs like https://www.reddit.com/?count=75&after=t3_44e2gu, offer NER's "nothing here" banner CTA buttons, after the (lack of) post listings:
- start over (remove the
count
andafter
query parameters), - ~~try again~~ that's probably pointless and should be removed from NER too
- random subreddit
- maybe copy the whole shortcut bar here
bonus feature:
- reveal multi navbar
bonus infrastructure:
- NER pulls CTAs from nothingHere
I'm up for this, though I'm not entirely clear what this applies to as the link you gave is populated for me. Do you mean like empty search results?
Oh goodie, my example link got fixed by Reddit.
Empty search results are a great example!
If this issue still open, I'm down to give it go.
I assume @andytuba means something like the NER endNer()
whenever search results come up empty?
Resulting HTML looking something like:
...
<footer>
<p class="info">there doesn't seem to be anything here</p>
<p class="nextprev">
<a href="/currentPath">start over</a>
<a target="_blank" rel="noopener noreferer" href="/r/Enhancement/wiki/faq/never_ending_reddit">learn more</a>
<a href="/r/random">random subreddit</a>
</p>
</footer>
One potential issue with start over
<a>
is that for a SRP with no #
in the params, as @tcmal suggested, you'd just get redirected to the same page you're currently on.
Thoughts?