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.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

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

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

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

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
Ross Carley
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
47
Βαθμολογίες
1 0 0
Έκδοση
0.2
Δημιουργήθηκε την
15/09/2015
Ενημερώθηκε την
18/09/2015
Μέγεθος
20 KB
Άδεια
Μη διαθέσιμη
Εφαρμόζεται σε

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)