Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tpatel/swedish-bookmarklet
A bookmark to point the user to a swedish dictionary for each word in a website.
https://github.com/tpatel/swedish-bookmarklet
Last synced: 2 days ago
JSON representation
A bookmark to point the user to a swedish dictionary for each word in a website.
- Host: GitHub
- URL: https://github.com/tpatel/swedish-bookmarklet
- Owner: tpatel
- Created: 2012-11-08T19:50:29.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-09T10:25:29.000Z (about 12 years ago)
- Last Synced: 2024-11-23T09:51:50.489Z (2 months ago)
- Size: 117 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Swedish-bookmarklet
===================A bookmark to point the user to a swedish dictionary for each word in a website.
How to use it ?
---------------1. Create a new bookmark in your bookmarks toolbar.
2. Copy/paste the content of [the bookmarlet](https://raw.github.com/tpatel/Swedish-bookmarklet/master/swedish-bookmarklet.js) in the url field of your new bookmark.
3. Go to a swedish website, for example [KTH's website](https://www.kth.se/).
4. Clik on your bookmark, enjoy, and learn swedish !Description
-----------The bookmarklet is doing the following actions :
* Looks for the content of tags ``.
* Stripes the html tags.
* Extracts each word.
* Remplaces the word by a link on [The People's Dictionary](http://folkets-lexikon.csc.kth.se/folkets/folkets.en.html) (we lowercase the word before contructing the link as the dictionary used accepts only lowercase words).Used
----
* [The People's Dictionary](http://folkets-lexikon.csc.kth.se/folkets/folkets.en.html)
* [Vanilla-js](http://vanilla-js.com/)Follow
------
[@thibpat](https://twitter.com/thibpat)License
-------Public domain