sally_maria: Lego minifig monster pushing a trolley of books (Book Monster)
[personal profile] sally_maria posting in [community profile] ao3some
I have a minor problem with links on the archive, and I was wondering if anyone else felt the same way, and if they had come up with a solution. Being a ridiculously picky person, I don't like having a mixture of bookmarks, some to stories in collections, and others that aren't. So I always have to edit the URL to get the non-collection version of a link.

Does anyone know if there is a way to automate that, either something that defaults to taking you to the non-collection version or a button that removes the collection part of the link? I know it's a minor issue, and I can carry on the way I do at the moment, but if there is a solution, I'd be very grateful.

Date: 2015-12-31 03:48 am (UTC)
kate_nepveu: sleeping cat carved in brown wood (Default)
From: [personal profile] kate_nepveu
There ought to be a way to use Javascript to create a bookmarklet to do it, but my coding is all cargo-cult, so my attempt once failed miserably. *tracks post*

Date: 2015-12-31 10:12 am (UTC)
rebecca2525: Abby Sciuto from NCIS with the word "geek" (Default)
From: [personal profile] rebecca2525
It can be done with a bookmarklet. Make a new bookmark (to some random page if you can't create an empty one) and then change the location of that bookmark to this code:

javascript:url=window.location.href.replace(/collections\/.*?\//,'');window.location=url;


Now when your're on a work page, you can click that bookmark and it will reload the work without the collection part.

(Dreamwidth doesn't let me post a direct link to the bookmarklet, sorry. If you have a problem creating the bookmark, let me know.)
Edited Date: 2015-12-31 10:16 am (UTC)

Date: 2015-12-31 12:59 pm (UTC)
kate_nepveu: sleeping cat carved in brown wood (Default)
From: [personal profile] kate_nepveu
You're amazing, thank you!

Date: 2015-12-31 03:38 pm (UTC)
coprime: Marny bouncing (video games)
From: [personal profile] coprime
That is super useful, thank you!

Date: 2019-06-28 10:39 pm (UTC)
alyndra: (Default)
From: [personal profile] alyndra
Omg I love you! I've manually deleted so many collection bits of urls, I'm so excited to find this!

June 2021

S M T W T F S
  12345
6789101112
1314 1516171819
20212223242526
27282930   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 22nd, 2025 08:17 pm
Powered by Dreamwidth Studios