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.

Você precisará instalar uma extensão como Tampermonkey, Greasemonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Violentmonkey para instalar este script.

Você precisará instalar uma extensão como Tampermonkey ou Userscripts para instalar este script.

Você precisará instalar uma extensão como o Tampermonkey para instalar este script.

Você precisará instalar um gerenciador de scripts de usuário para instalar este script.

(Eu já tenho um gerenciador de scripts de usuário, me deixe instalá-lo!)

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar uma extensão como o Stylus para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

Você precisará instalar um gerenciador de estilos de usuário para instalar este estilo.

(Eu já possuo um gerenciador de estilos de usuário, me deixar fazer a instalação!)

Autor
Ross Carley
Instalações hoje
0
Total de instalações
47
Avaliações
1 0 0
Versão
0.2
Criado
15/09/2015
Atualizado
18/09/2015
Tamanho
20,7 KB
Licença
N/A
Aplicável 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)