Adds a download button to Bluesky images and videos. Built off coredumperror's script with a few improvements.
Acestea sunt versiunile scriptului în care codul a fost actualizat. Arată toate versiunile.
Rewrite download function again to force Save-As dialog to appear on Chromium browsers.
Grab extension from the blob (fix Chrome) and rewrite download to use built in method for Tamper/Violentmonkey.
Put the script version in the template button to make it easier to see the version.
Also did more cleanup and removed the console.log I forgot to get rid of.
console.log
Code cleanup (used Gemini)
Dropping JQuery for raw JS
Bsky changes their settings page, so the on-the-fly-template-change field had to be fixed.
Also minor fix to filenaming since it would append the <%username> fix when it wasn't necessary.
<%username>
Reduce the overall code size by combining the image and video codes, reworked how post ID is found, and add coredumperror as an author, because it was their script first and foremost. Please report any bugs, share a link to the post and describe how it happened if possible!
Returning <%username> since I believe I fixed the filenames being truncated by an invalid file extension and also setting it as the new default.
return default back to what I set
Completely redesign the MO setup to be better at adapting to all pages.Move the "Filenaming" settings to the actual "Settings" page at the top.
potentially solve it
Attempt to keep it from breaking, still need to fix for Discovery and other lists/tabs.
Potentially future-proof
added the-nelsonator's changes