(function() {
	'use strict';

	var firefox = typeof self !== 'undefined' && self.port;

	function getCurrentUrl() {
		return decodeURIComponent(location.href.toString().split('?')[1]);
	}

	document.getElementById('current_url').innerText = getCurrentUrl();
	document.getElementById('go_back').onclick = function() {history.back()};

	if (firefox) {
		self.port.on("redirectTo", function(url) {
			window.location.href = url;
		});

		document.getElementById('force_continue').onclick = function() {
			self.port.emit("allowCurrentUrl", getCurrentUrl());
		};
	} else {
		document.getElementById('force_continue').onclick = function() {
			chrome.runtime.sendMessage({allowCurrentUrl: getCurrentUrl()});
		};
	}
}).call(this);

@@ -309,16 +309,19 @@
 tion() %7B
+%0A%09%09
 history.
@@ -326,16 +326,19 @@
 y.back()
+;%0A%09
 %7D;%0A%0A%09if 
@@ -401,15 +401,8 @@
 %0A%09%09%09
-window.
 loca

Format the common warnings, drop unneeded window refs