diff --git a/index.js b/index.js index 9e2acaa..64e2db3 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,8 @@ @wetraks - https://github.com/wetraks @cryblanka - https://github.com/cryblanka @9fm - https://github.com/9fm - + @MARECKIyt - https://github.com/MARECKIyt + */ const SCREEN_WIDTH = window.screen.availWidth @@ -1126,7 +1127,9 @@ function getRandomArrayEntry (arr) { return arr[Math.floor(Math.random() * arr.length)] } -// TODO: document this +/** + * Automates a series of Google searches in a browser window, moving the window randomly between searches. - Added by @MARECKIyt + */ function setupSearchWindow (win) { if (!win) return win.window.location = 'https://www.google.com/search?q=' + encodeURIComponent(SEARCHES[0])