https://github.com/cca/libraries_tampermonkey
website modifications for CCA Libraries
https://github.com/cca/libraries_tampermonkey
tampermonkey
Last synced: 3 months ago
JSON representation
website modifications for CCA Libraries
- Host: GitHub
- URL: https://github.com/cca/libraries_tampermonkey
- Owner: cca
- License: other
- Created: 2019-09-04T22:14:07.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-11-15T22:34:22.000Z (over 1 year ago)
- Last Synced: 2025-02-03T12:35:05.696Z (over 1 year ago)
- Topics: tampermonkey
- Language: JavaScript
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Libraries Tampermonkey Scripts
Scripts to modify websites. To help Systems Librarian automate stuff and give staff some customized tools.
https://www.tampermonkey.net
## Setup
- Install [Tampermonkey](https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo) Chrome extension
- From the extension's settings, click the **+** button to add a script
- Copy/paste a script from here into the editor
- **Save**
If you want to hack on this repo and use the linting, `pnpm install` adds eslint dependencies which can be run with `npm test`.
## What do they do
**koha-catalog.js** - show the number of search results, show tabs on the bib detail page that link to the MARC record, staff side view, and Summon.
**portal.js** - hide student rosters/enrollment data for course sections, this is useful for recording screencasts of Portal content where we cannot expose student names.
**refstats.js** - auto-selects the user's email address, creates common interaction templates (e.g. for faculty Moodle chats). We could create additional buttons for other common interactions.
**summon.js** - creates a `report()` function for use in the browser's JavaScript console which copies metadata from the first search result and opens the Ex Libris support page. This is used to send broken link reports with certain stock information pre-filled in them.
**watermark.js** - adds an "Unselect Extension Courses" button that makes it easy to skip these courses when importing courses from Moodle into Watermark course sevluations.
## LICENSE
[ECL Version 2.0](https://opensource.org/licenses/ECL-2.0)