× (function () { var TOTAL = 11; // number of chapters (update if you add more) var path = location.pathname; var match = path.match(/chapter-(\d+)/); if (!match) return; // not a chapter URL -> [...] Read more
Scott Tsumura