// ==UserScript== // @name Instructables: all comments // @update_url http://myhost.com/mytestextension/updates.xml // @namespace www.instructables.com // @description Shows all comments (2000 at a time to be exact) on the Instructables site. Just click on the All Comments link below the Add Comments button. // @include http://www.instructables.com/id/* // @exclude http://www.instructables.com/id/*/?&sort=NEWEST&limit=2000&offset=2000 // ==/UserScript== var navbar, newElement, link; link = window.location +'?&sort=NEWEST&limit=2000&offset=2000'; navbar = document.getElementById('NewCommentLINK_top'); if (navbar) { newElement = document.createElement('div'); newElement.innerHTML = 'All Comments'; navbar.parentNode.insertBefore(newElement, navbar.nextSibling); }