Difference between revisions of "User:BentleyDavis/common.js."

From Game B Wiki
Jump to navigation Jump to search
(Testing out personal JS)
Tag: 2017 source edit
 
(test)
Tag: 2017 source edit
 
Line 1: Line 1:
var headerWords = $("h1").text().split(" ").length;
var totalWords = numWords + headerWords;
var timeInMinutes = totalWords / 200;
var header = $("h1").text();
var header = $("h1").text();
$("h1").text(header + " (it will take you " + timeInMinutes + " minutes to read this page)");
$("h1").text(header + " (Bentley's Custom JS is running)");

Latest revision as of 10:55, 15 July 2020

var header = $("h1").text(); $("h1").text(header + " (Bentley's Custom JS is running)");