this post was submitted on 06 Aug 2023
5 points (100.0% liked)

General

192 readers
1 users here now

Feel like you have something to post, but it's not really relevant to any of the current communities, and you don't feel like it's worth making an entirely new community just to post it? This is the place for that.

NSFW content is allowed in this community so long as you mark it as per site rules.

founded 2 years ago
MODERATORS
 

I wrote this userscript to make posting shota.nu media to this site easier.

Features

  • Copy direct URL to clipboard
  • Copy markdown image markup (![]()) to clipboard
  • Image preview on hover
  • Rearrange the uploads list (for the following features)
  • Produce markdown markup for the whole uploads list as an album
  • Produce the above markup in a centered table format
  • Pops out the site in a window, so you can have both sites visible
  • Remembers the expiry selection

New in v0.2

  • Night mode!
  • Expiry selection recall can be turned off
  • Auto-popout

New in v0.3

  • Burggit integration: Adds link to shota.nu in burggit.moe navbar
  • Added saucenao search button
  • Ability to remove deleted uploads from view
  • More album list options (2-column table)
  • Ability to add notes to each item. Used in conjunction with the item below.
  • Ability to use custom markdown template for each item in album list. Eg:
    • $0|$1|...|$n inserts entries from notes (separated with "|")
    • $i|$i0 inserts item index
    • $ofn inserts the original filename
  • Button to copy album list markdown to clipboard
  • Automatically merge config from previous versions. New settings should work out of the box.

How to install

  1. Have a userscript browser extension (Tampermonkey recommended) installed.
  2. Download script. Rename file to anything ending with .user.js e.g. helpfulcat.user.js
  3. Open the script with browser.
  4. Confirm installation.

Alternative with Tampermonkey:

  1. Open Tampermonkey's dashboard
  2. Go to Utilities tab
  3. In Install from URL section, paste the link and press install.
  4. Confirm installation.

~~Upgrade notice~~

  • ~~Please clear script's storage to have the new version work properly.~~
    No longer required from v0.3 onwards.

Preview

v0.1 v0.2 v0.3
v0.1 v0.2, now with dark mode! v0.3
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here