Because of forum #164992, I created the following bookmarklet and userscript which will remove the commentary inputs on the uploads page so that they don't get added. The bookmarklet allows one to remove the commentary inputs when desired, whereas the userscript will always remove the commentary inputs.
Bookmarklet
javascript:$(".upload_commentary_translation_container, .upload_artist_commentary_container").remove();
Note: Unfortunately, DText doesn't allow one to create a link out of the above, so the bookmarklets will have to be set manually.
Userscript
// ==UserScript== // @name Remove upload commentary // @version 1.1 // @description Removes the commentary inputs on the uploads page. // @include /^https?://\w+\.donmai\.us/uploads/\d+(\?|$)/ // @include /^https?://\w+\.donmai\.us/uploads/\d+/assets/\d+(\?|$)/ // @exclude /^https?://\w+\.donmai\.us/.*\.(xml|json|atom)(\?|$)/ // @grant none // @run-at document-end // ==/UserScript== const interval = setInterval(function() { let $commentaries = $(".upload_commentary_translation_container, .upload_artist_commentary_container"); if ($commentaries.length) { clearInterval(interval); $commentaries.remove(); } }, 100);
Edit:
- (2020-07-28)
- Added exclude line for XML/JSON
- Added run-at line
- (2022-02-20)
- Update for new upload scheme.
- https://github.com/danbooru/danbooru/commit/bdf83d1ffd8a9171047235e2f5269d5e8e156b64
Updated