A small JavaScript function to scrape articles from the systematic collection of laws of Switzerland (https://www.admin.ch/gov/de/start/bundesrecht/systematische-sammlung.html) into JavaScript Objects.
- copy code from scraper.js to clipboard
- go to the desired SR-page (on admin.ch)
- inspect the site
- past the code to the javascript console and press enter
- object "collection" is now a javascript array containing all articles of the page
- Make function to get text only
- Make Chrome-Extension