Note that this page includes jQuery 1.2.6 in case you want to test execution of a requires-newer-than-1.2.6 bookmarklet. If you want to do version testing, click here for a good starting point.
This bookmarklet, requiring jQuery 1.3.2:
(drag this to your bookmarks bar or right-click and add to bookmarks)
Was generated from this code:
javascript: ( function (e, a, g, h, f, c, b, d) { if (!(f = e.jQuery) || g > f.fn.jquery || h(f)) { c = a.createElement("script"); c.type = "text/javascript"; c.src = "http://ajax.googleapis.com/ajax/libs/jquery/" + g + "/jquery.min.js"; c.onload = c.onreadystatechange = function () { if (!b && (!(d = this.readyState) || d == "loaded" || d == "complete")) { h((f = e.jQuery).noConflict(1), b = 1); f(c).remove() } }; a.documentElement.childNodes[0].appendChild(c) } }) (window, document, "1.3.2", function ($, L) { var lastPage = prompt('enter last page number'); var on_page = prompt('enter the page number you are now'); var baseUrl = document.URL.replace(/&start=\d*/, ''); function cleanPosts() { $('#page-body').siblings().remove(); $('.post:first').prevAll().remove(); $('.post:last').nextAll().remove(); $('ul.profile-icons, dl.postprofile, div.back2top, div.bg3, .signature ,.post:not(.post[id^="p"])').remove(); $("a").removeAttr("href"); $('.postbody').width('100%'); } function loadPage(page) { if (page < lastPage) { $('#loading-page').text(page); loadNextPage(page); } else { cleanPosts(); } } function loadNextPage(page) { $.ajax({ url: baseUrl + '&start=' + (page++ * 25), success: function (data) { $('.post:last') .after( $('<h3>').addClass('page-number') .text('%D7%96%D7%99%D7%99%D7%98 ' + page) .css({ 'text-align': 'center', 'font-size': '14px' }) ); $('.page-number:last').after($('.post', data)); loadPage(page); } }); } lastPage = Math.max(on_page, Math.min(lastPage, prompt('You are on page ' + on_page + ' of ' + lastPage + ' pages.\r\nTill which page do you want to print?', lastPage))); $('#page-body') .before( $('<h3>') .css({ 'text-align': 'center', 'font-size': '14px' }) .text('loading page ') .append('<span id="loading-page">') ); loadPage(on_page); });