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.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, Greasemonkey alebo Violentmonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey, % alebo Violentmonkey.

Na nainštalovanie skriptu si budete musieť nainštalovať rozšírenie, ako napríklad Tampermonkey alebo Userscripts.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie, ako napríklad Tampermonkey.

Na inštaláciu tohto skriptu je potrebné nainštalovať rozšírenie správcu používateľských skriptov.

(Už mám správcu používateľských skriptov, nechajte ma ho nainštalovať!)

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie, ako napríklad Stylus.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

Na inštaláciu tohto štýlu je potrebné nainštalovať rozšírenie správcu používateľských štýlov.

(Už mám správcu používateľských štýlov, nechajte ma ho nainštalovať!)

Autor
Ross Carley
Denne inštalácií
0
Celkový počet inštalácií
47
Hodnotenie
1 0 0
Verzia
0.2
Vytvorené
15.09.2015
Aktualizované
18.09.2015
Veľkosť
20,7 KB
Licencia
neuvedené
Spustiť na

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)