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.

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

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

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Ross Carley
今日安裝
0
安裝總數
47
評價
1 0 0
版本
0.2
建立日期
2015-09-15
更新日期
2015-09-18
尺寸
20.7 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)