Tweaks to Finlex UI

Latest Version

Version
0.0.5
Update
October 24, 2019
Size
100KiB
Developer
Category
Users
3
Rating
5 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
*://*.finlex.fi/*
Storage
See more

Finlex Ex Extension

This extension enables you to tweak certain user interface features of Finlex.fi, a public online database of legislative and judicial information in Finland. This started out just as a small learning project, but if you have good ideas, or even better, code to contribute, do check out the GitHub project and get involved: https://github.com/henritns/finlex-ex/

Features:

* Add links to Finlex versions of Government Proposals: The link to the GP of the original statute (he) will be added to the header of the statute ToC (Sisällysluettelo). Links to subsequent proposals can be found under each relevant section next to the amending statute link (linkki muutossäädöksen voimaantulotietoihin).

* Add statute link to Semanttinen Finlex: Link to the whole statute in Semantic Finlex under Document Versions (Dokumentin versiot).

* Add section links to Semanttinen Finlex: Links (sf) to the relevant section in Semantic Finlex.

* Add statute link to Edilex: Link to the statute in Edilex under Document Versions (Dokumentin versiot). Requires logging into an Edilex account (paid service).

* Add section links to Edilex: Links (ed) to the relevant section in Edilex. Requires logging into an Edilex account (paid service), preferably before use.

* (Experimental) Enable prepending any paragraph with a Finnish section reference, e.g., \"Velan vanhentumisesta annetun lain (728/2003) 5 §:n 1 momentin mukaan ...\" by clicking the § link.

* Redirect \"Oikeuskäytäntö kirjallisuudessa\" pages directly to the case text, if accessed through Google search.
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Finlex Ex", "version": "0.0.5", "manifest_version": 2, "description": "Tweaks to Finlex UI", "icons": { "48": "icons/icon48.png", "96": "icons/icon96.png", "128": "icons/icon128.png" }, "background": { "scripts": ["src/bg/background.js"] }, "options_ui": { "page": "src/options/index.html" }, "permissions": ["*://*.finlex.fi/*", "storage"], "content_scripts": [ { "matches": ["*://*.finlex.fi/fi/oikeus/foki/tapaus/*"], "js": ["src/inject/fokiRedirect.js"] }, { "matches": ["*://*.finlex.fi/fi/oikeus/*"], "js": ["src/inject/case.js"] }, { "matches": [ "*://*.finlex.fi/fi/laki/ajantasa/*/*", "*://*.finlex.fi/fi/laki/alkup/*/*" ], "js": ["3rdparty/jquery-3.4.1.js", "src/inject/statute.js"], "css": ["src/inject/statute.css"] }, { "matches": ["*://data.finlex.fi/*"], "run_at": "document_end", "css": ["src/inject/sf.css"] } ]}
Read more