Skip to content

Instantly share code, notes, and snippets.

View Conal-Tuohy's full-sized avatar

Conal Tuohy Conal-Tuohy

View GitHub Profile
@Conal-Tuohy
Conal-Tuohy / canonicalise-trove-work-uri.user.js
Last active November 7, 2017 13:19
Userscript for the National Library of Australia's Trove portal; sets the browser's location URL to be the canonical URL of the work
// ==UserScript==
// @name Canonicalise Trove work URI
// @namespace http://conaltuohy.com/
// @version 0.1
// @description Sets the browser location URL to the canonical URL of the work
// @author Conal Tuohy (@conal_tuohy)
// @match http://trove.nla.gov.au/work/*
// @grant none
// ==/UserScript==