Skip to content
Archive of posts filed under the Web Apps category.

Viskisieppo Chrome plugin to bypass glenmorangie.com site restriction to Finland

Finnish alcohol politics are like DRM. It has no effective on the abusive users, but it pisses off everyone else. Currently it seems that Whisky site glenmorangie.com is blocking Finnish users due to Finland’s alcohol laws.

Information want’s to be free, so I made a simple plugin for Chrome to bypass the country block at glenmoorangie.com.

Download

You can download the plugin from Chrome marketplace: https://chrome.google.com/webstore/detail/viskisieppo/dgmcbnhfgeejfapefklhjpilfiholhcc?hl=fi

How it works

You can download the whole project from my github page: https://github.com/Summeli/Viskisieppo

The plugin basically add, or edits the “X-Forwarded-for” HTTP-headers to make the requests look like they are not coming from Finland. This is basically implemented with Chrome webrequest-API

var requestFilter = {
	urls: [
		"*://*/*"
	]
};
chrome.webRequest.onBeforeSendHeaders.addListener(function(details) {
	var headers = details.requestHeaders;
	var header_set = false;
	for(var i = 0, l = headers.length; i < l; ++i) {
		if( headers[i].name == "X-Forwarded-for" ) {
			headers[i].value = "12.13.14.15";
			header_set = true;
			break;
		}
	}
	if(!header_set){
		headers.push({name:"X-Forwarded-for",value:"12.13.14.15"});
	}
	return {requestHeaders: headers};
}, requestFilter, ['requestHeaders','blocking']);

DynDns Autologin Application for Google AppEngine

DynDns recently changed their service so you’ll have to log in once in every 30 days to keep your account active. As it happens I also have had the DynDns package for years, and the new login requirement really bugs me.

So I developed this simple autologin application for Google’s Appengine to keep my account active. You can download the dyndns autologin app from my GitHub repository at: https://github.com/Summeli/dyndns-autologin

Please notice that this probably violates the DynDns ToS, so you might get your account banned. I will not take the responsibility for that.

Installation

  • Change the application in app.yaml into your own app-id
  • Change username and password into the Settings class in cron.py file
  • the script automatically executes every Monday