Chess.com 'Computer Analysis' button

Order a computer analysis directly from the Live Chess page

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Chess.com 'Computer Analysis' button
// @version      1.1
// @description  Order a computer analysis directly from the Live Chess page
// @author       Lars Petrus
// @match        http://live.chess.com/*
// @namespace https://greasyfork.org/users/10616
// ==/UserScript==

go_analyze = function() {
  var gameId = window.location.href.split("=").pop();
  window.location.href = "http://www.chess.com/home/computer_analysis_redirect?live_id="+gameId;
}

$("body").append("<button class='button-submit' onclick='go_analyze();' style='position:fixed; left: 200px; top:5px; font-size:10px; z-index: 9;'>Computer Analysis</button>");