JCCC Library JSON

Using https://library.jccc.edu/home/?newlibrary this script interacts with http://jccc.summon.serialssolutions.com/api/search to get all results as quickly as possible for a particular query. It can handle 1000 results total, because that is where the api cuts it off.

Terá de instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

Terá de instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Terá de instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Terá de instalar uma extensão como Tampermonkey para instalar este script.

Terá de instalar uma extensão de gestão de scripts de utilizador para instalar este script.

(Já tenho um gestor de scripts de utilizador, deixe-me instalá-lo!)

Terá de instalar uma extensão como Stylus para instalar este estilo.

Terá de instalar uma extensão como Stylus para instalar este estilo.

Terá de instalar uma extensão como Stylus para instalar este estilo.

Terá de instalar uma extensão de gestão de estilos de utilizador para instalar este estilo.

Terá de instalar uma extensão de gestão de estilos de utilizador para instalar este estilo.

Terá de instalar uma extensão de gestão de estilos de utilizador para instalar este estilo.

(Já tenho um gestor de estilos de utilizador, deixe-me instalá-lo!)

Autor
Ross Carley
Instalações diárias
0
Total de instalações
47
Classificações
1 0 0
Versão
0.2
Criado
15/09/2015
Atualizado
18/09/2015
Tamanho
20 KB
Licença
N/D
Aplica-se a

In order for this script to work in google chrome you must have tampermonkey or another script manager that emulates the greasemonkey api. "Reduce default 'referer' header granularity" must be enabled in chrome://flags

Using https://library.jccc.edu/home/?newlibrary this script interacts with http://jccc.summon.serialssolutions.com/api/search to get all results as quickly as possible for a particular query. It can handle 1000 results total, because that is where the api cuts it off. This is a very early version try to check back for newer versions with the full features. I will eventually add author and all the info that will not slow it down from the existing api frontend (http://jccc.summon.serialssolutions.com/search#!/search).

Feel free to edit the script, there are a lot of comments and things that will break if you uncomment them.

Change var resultsPerPage = 10; to anywhere between 1 and 50.

Eventually this will have all the features of the other library front end, however it will be speedy and lightweight. It is geared towards older machines or low powered machines, but it will be much quicker on any device.

Tampermonkey: https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo (Google Chrome)
Greasemonkey: https://addons.mozilla.org/en-us/firefox/addon/greasemonkey/ (Firefox)

Interface

Type in a query, and press enter to start. If your query stays the same you can press enter in the query input to stop, if the query changes pressing enter will empty the results list and begin a new search.

Changelog

0.2

Better keyboard support
Ability to resume stopped requests
Better starting and stopping of ajax requests
Publisher info added in results
Panic STOP button on the left
Minor style updates
requestTimeout = 100 (timeout before begining each new page request in miliseconds)