jmhobbs

Territorial Seeds User Script

So I was buying our garden seeds at Territorial Seed and they had a stupid 90's "no right click" script installed. Lame, I need my tabs!

So I took a look and then wrote my first Greasemonkey script. Check it out if you need it, it should work on other sites that try the same trick.

territorial.seed.no.right.click.user.js

// Version 0.1
// Copyright (c) 2010, John Hobbs
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// ==UserScript==
// @name          Territorial Seed No Right Click
// @namespace     http://www.velvetcache.org/
// @description   Disable the disable right click script on Territorial Seed
// @include       http://www.territorialseed.com/*
// ==/UserScript==

window.addEventListener (
  'load',
  function () {
    setTimeout( "document.oncontextmenu = null;", 150 );
  },
  true
);