ContextSearch-web-ext icon indicating copy to clipboard operation
ContextSearch-web-ext copied to clipboard

Get another tab from same page

Open Parvares opened this issue 1 year ago • 0 comments

Hi Mike, this template:

https://www.bibliotechediroma.it/opac/query/%s?bib=RMBO2&context=tmatm

displays the result under the "Lo trovi in" tab, I would like instead to retrieve the record under the "Scheda" tab.

This is an example of the result I get: link.

EDIT. I think I solved simulating a click event, in post-search script, though it's not very fast to trigger the click action:

const schedaTab = document.getElementById('tabDocument_item_tabcata');
if (schedaTab) schedaTab.click();

Thank you!

Parvares avatar Aug 17 '24 12:08 Parvares