Bookmarklet to move Publisher Series next to Series
CharlasHacking LibraryThing
Únete a LibraryThing para publicar.
Este tema está marcado actualmente como "inactivo"—el último mensaje es de hace más de 90 días. Puedes reactivarlo escribiendo una respuesta.
1brightcopy
(Reposting part of an old post from here to make it easier to find.)
I have a possible workaround for people who are going through and editing a lot of books to move Series stuff into Publisher Series. This should work in Firefox, Safari, Internet Explorer, Chrome, whatever. No special addons needed.
First, rearrange your work page so that the "Common Knowledge" section is the top one. (You don't HAVE to do this, but it just helps if you're going to be doing a lot of them back-to-back.)
Now copy the following block:
javascript:(function(){fe=function(p,e){return document.evaluate(p,e,null,XPathResult.ANY_UNORDERED_NODE_TYPE,null).singleNodeValue}; pr=fe('//td[@fieldname="publisherseries"]',document.body); prrow=pr.parentNode.parentNode.parentNode.parentNode.parentNode; r=fe('//td[@fieldname="series"]',document.body); rrow=r.parentNode.parentNode.parentNode.parentNode.parentNode; prrow.parentNode.removeChild(prrow); rrow.parentNode.insertBefore(prrow,rrow); fe('.//a[class="fwikiEditPencil"]',prrow).onclick(); fe('.//a[class="fwikiEditPencil"]',rrow).onclick()})()
Create a new bookmark and paste this in as the URL.
Now, go to a work page and click this bookmark. It will move the Publisher Series field up to the top above Series. It will also click on the pencil on both of them. That way you can make whatever edits you need and click Save on the appropriate ones. Should save you some clicking and scrolling.
(This works on both the main work page and the ck page for the work.)
I have a possible workaround for people who are going through and editing a lot of books to move Series stuff into Publisher Series. This should work in Firefox, Safari, Internet Explorer, Chrome, whatever. No special addons needed.
First, rearrange your work page so that the "Common Knowledge" section is the top one. (You don't HAVE to do this, but it just helps if you're going to be doing a lot of them back-to-back.)
Now copy the following block:
javascript:(function(){fe=function(p,e){return document.evaluate(p,e,null,XPathResult.ANY_UNORDERED_NODE_TYPE,null).singleNodeValue}; pr=fe('//td[@fieldname="publisherseries"]',document.body); prrow=pr.parentNode.parentNode.parentNode.parentNode.parentNode; r=fe('//td[@fieldname="series"]',document.body); rrow=r.parentNode.parentNode.parentNode.parentNode.parentNode; prrow.parentNode.removeChild(prrow); rrow.parentNode.insertBefore(prrow,rrow); fe('.//a[class="fwikiEditPencil"]',prrow).onclick(); fe('.//a[class="fwikiEditPencil"]',rrow).onclick()})()
Create a new bookmark and paste this in as the URL.
Now, go to a work page and click this bookmark. It will move the Publisher Series field up to the top above Series. It will also click on the pencil on both of them. That way you can make whatever edits you need and click Save on the appropriate ones. Should save you some clicking and scrolling.
(This works on both the main work page and the ck page for the work.)