Save Checkbox State to LocalStorage – JavaScript and JQuery Example

You can save your JavaScript variables to browser localStorage. They are saved in the client’s web browser until user decides to “Clear recent history”. Live demo allows you to see how the checkbox state is saved – even if you … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Translate Titles on Wikipedia – Firefox Addon

Add links to English and Finnish translations on Wikipedia. Add-on for Firefox. Download from official Firefox Add-ons site. The rest of this article is “making of”, interesting if you want to learn to write your own Firefox extensions. I wrote … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , | Leave a comment

Starting with JavaScript – Arrays, for..of, F12 console

JavaScript gets you to results easily. It’s the native language of web pages. You can create and sell Android Apps easily by packaging your HTML and JavaScript with PhoneGap/Cordova. All popular (1000+ installs) cell phone apps in my courses have … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Interactive Map on Your Web Page – with Markers – Leaflet.js and OpenStreetMap

Create an interactive map on your web page. Using Leaflet.js, it can be a static web page on any server. With OpenStreetMap.org tiles, you can start using it without any API keys and without registration. Includes live example.

Posted in Uncategorized | Tagged , , , , , , , , , , , , , | 1 Comment

Your JavaScript in Thunderbird – Manipulate Shown Email Contents with Developer Console

You can run Javascript interactively in Thunderbird. It containts a developer toolbox, similar to Firefox F12 console. In this short example, we change some text on the message being viewed. With Firefox, I have used similar content manipulation to fix … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | Leave a comment

Simple Line Graph with Plotly.js

Draw a simple line graph with Plotly.js. With Plotly, drawing a line graph is just a single line of code.

Posted in Uncategorized | Tagged , , , , , , | Leave a comment

Aikataulu – Mobiilituotekehitys bus4tn008-6 – syksyllä 2016

Keksi ja koodaa oma Android-ohjelma. JavaScriptilla. Julkaise Google Playssa. Aiemmilla kursseilla menestyivät Cordovalla toteutetut Laurin Times Table Grid Game (yli 50 000 asennusta), Villen Hirsipuu Suomi (yli 10 000 asennusta)  ja Elmon SuomiSanakirja (yli 10 000 asennusta). Jos voitat Laurin … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Make Moodle Main Content Full Width – GreaseMonkey User Script

A theme in an installation of Moodle was broken. The content was shown in a keyhole, surrounded by large white sorrow borders. This GreaseMonkey userscript fixes the issue. It overrides some CSS styles on target pages. You can use it … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , | 1 Comment

Android Map with GPS Location – Using Cordova, OpenStreetMap and Leaflet.js

A Free Android map that centers on your GPS position. This is a programming example. It combines Cordova geolocation API, OpenStreetMap.org API and Leaflet.js map library. I have explained each of these technologies in separate articles.

Posted in Uncategorized | Tagged , , , , , , , , , , | 1 Comment

OpenStreetMap & Leaflet.js – Free Map on Your Homepage, No Registration Needed

OpenStreetMap is a Free map of the world. You can even use it on your web pages without registering anywhere. Leaflet.js is a JavaScript library that makes it easy to embed a map on a web page. This article teaches … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 1 Comment