CandidForum No Registration Required

Browse CandidForum and click on links without an account; not recommended if you have an active account.

As of 2014-10-26. See the latest version.

// ==UserScript==
// @name CandidForum No Registration Required
// @author Arnold François Lecherche
// @namespace greasyfork.org
// @version 1.0
// @description Browse CandidForum and click on links without an account; not recommended if you have an active account.
// @include http://*.thecandidforum.com/*
// @include http://thecandidforum.com/*
// @include https://*.thecandidforum.com/*
// @include https://thecandidforum.com/*
// @run-at document-end
// @copyright 2014 Arnold François Lecherche
// ==/UserScript==

// nothing of interest is in the page's onload handler
document.body["data-pagespeed-onload"] = document.body.onload = null;

// cookie-deletion code: https://stackoverflow.com/questions/2194473/can-greasemonkey-delete-cookies-from-a-given-domain
var domain = document.domain, domain2 = domain.replace (/^www\./, ""), domain3 = domain.replace (/^(\w+\.)+?(\w+\.\w+)$/, "$2"),
    cookieList  = document.cookie.split (';'), J = cookieList.length - 1, cookieName;

//listCookies (); //-- Optional, for information or debug...

//--- Loop through cookies and delete them.
for (J; J >= 0;  --J) {
  cookieName = cookieList[J].replace(/\s*(\w+)=.+$/, "$1");

  //--- To delete a cookie, set its expiration date to a past value.
  document.cookie = cookieName + '=;expires=Thu, 01-Jan-1970 00:00:01 GMT;';
  document.cookie = cookieName + '=;path=/;expires=Thu, 01-Jan-1970 00:00:01 GMT;';
  document.cookie = cookieName + '=;path=/;domain=' + domain + ';expires=Thu, 01-Jan-1970 00:00:01 GMT;';
  document.cookie = cookieName + '=;path=/;domain=' + domain2 + ';expires=Thu, 01-Jan-1970 00:00:01 GMT;';
  document.cookie = cookieName + '=;path=/;domain=' + domain3 + ';expires=Thu, 01-Jan-1970 00:00:01 GMT;';
}

//listCookies (); //-- Optional, for information or debug...

//-- Optional function, for information or debug...
function listCookies () {
  'use strict';
  var cookieList  = document.cookie.split (';');
  for (var J = 0, numCookies = cookieList.length; J < numCookies; ++J) {
    console.log("Cookie ", J, ": ", cookieList[J]);
  }
}