No longer works!
With the change to the new shortened artist URLs, the following can be used to bring back the full length URLs. Use the Bookmarklet if it's only needed occasionally, or the Userscript if it's to be used all the time. (ref forum #136217)
Bookmarklet
javascript:$.each($("#artist-related-tags-column a[target=_blank]"),(i,entry)=>{entry.innerHTML=entry.href;});
Note: Unfortunately, DText doesn't allow one to create a link out of the above, so the bookmarklet will have to be set manually.
Userscript
Runs once
// ==UserScript== // @name Danbooru Artist URLs // @version 1.3 // @match *://*.donmai.us/posts/* // @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-idle // @description Show old-style full length artist URLs. // ==/UserScript== var artistinterval = setInterval(()=>{ if ($("#artist-related-tags-column").length === 0) { return; } $.each($("#artist-related-tags-column a[target=_blank]"), (i,entry)=>{ entry.innerHTML=entry.href; }); clearInterval(artistinterval); },1000);
Runs continuously
// ==UserScript== // @name Danbooru Artist URLs // @version 1.3 // @match *://*.donmai.us/posts/* // @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-idle // @description Show old-style full length artist URLs. // ==/UserScript== setInterval(()=>{ if ($("#artist-related-tags-column").length === 0) { return; } $.each($("#artist-related-tags-column a[target=_blank]"), (i,entry)=>{ entry.innerHTML=entry.href; }); },1000);
The interval timer is needed since the artist URLs are only loaded after the edit tab is opened.
Edit:
- (2017-09-21)
- Added continuous version in response to forum #136258
- Added the uploads page to the pages the userscript runs on
- (2019-10-04)
- Added exclude line for XML/JSON
- Added version number
- (2022-02-20)
- Update for new upload scheme.
- https://github.com/danbooru/danbooru/commit/bdf83d1ffd8a9171047235e2f5269d5e8e156b64
Updated