PageSourceSearch

https://sahrapsoysal.com/files/js/jQuery.print.js?id=2123

js sahrapsoysal.com collected 2026-10-02 13:21:37 UTC 2,765 bytes, 1 lines download raw bytes

1!function(e){"use strict";function t(t){var n=e("");try{n=e(t).clone()}catch(r){n=e("<span />").html(t)}return n}function n(t,n,r){var o=e.Deferred();try{var i=(t=t.contentWindow||t.contentDocument||t).document||t.contentDocument||t;r.doctype&&i.write(r.doctype),i.write(n),i.close();var a=!1,c=function(){if(!a){t.focus();try{t.document.execCommand("print",!1,null)||t.print(),e("body").focus()}catch(e){t.print()}t.close(),a=!0,o.resolve()}};e(t).on("load",c),setTimeout(c,r.timeout)}catch(e){o.reject(e)}return o}function r(t,r){var i=e(r.iframe+""),a=i.length;return 0===a&&(i=e('<iframe height="0" width="0" border="0" wmode="Opaque"/>').prependTo("body").css({position:"absolute",top:-999,left:-999})),n(i.get(0),t,r).done(function(){setTimeout(function(){0===a&&i.remove()},1e3)}).fail(function(e){console.error("Failed to print from iframe",e),o(t,r)}).always(function(){try{r.deferred.resolve()}catch(e){console.warn("Error notifying deferred",e)}})}function o(e,t){return n(window.open(),e,t).always(function(){try{t.deferred.resolve()}catch(e){console.warn("Error notifying deferred",e)}})}function i(e){return!!("object"==typeof Node?e instanceof Node:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName)}e.print=e.fn.print=function(){var n,a,c=this;c instanceof e&&(c=c.get(0)),i(c)?(a=e(c),arguments.length>0&&(n=arguments[0])):arguments.length>0?i((a=e(arguments[0]))[0])?arguments.length>1&&(n=arguments[1]):(n=arguments[0],a=e("html")):a=e("html");var l={globalStyles:!0,mediaPrint:!1,stylesheet:null,noPrintSelector:".no-print",iframe:!0,append:null,prepend:null,manuallyCopyFormValues:!0,deferred:e.Deferred(),timeout:750,title:null,doctype:"<!doctype html>"};n=e.extend({},l,n||{});var d=e("");n.globalStyles?d=e("style, link, meta, base, title"):n.mediaPrint&&(d=e("link[media=print]")),n.stylesheet&&(d=e.merge(d,e('<link rel="stylesheet" href="'+n.stylesheet+'">')));var f=a.clone();if((f=e("<span/>").append(f)).find(n.noPrintSelector).remove(),f.append(d.clone()),n.title){var s=e("title",f);0===s.length&&(s=e("<title />"),f.append(s)),s.text(n.title)}f.append(t(n.append)),f.prepend(t(n.prepend)),n.manuallyCopyFormValues&&(f.find("input").each(function(){var t=e(this);t.is("[type='radio']")||t.is("[type='checkbox']")?t.prop("checked")&&t.attr("checked","checked"):t.attr("value",t.val())}),f.find("select").each(function(){e(this).find(":selected").attr("selected","selected")}),f.find("textarea").each(function(){var t=e(this);t.text(t.val())}));var p=f.html();try{n.deferred.notify("generated_markup",p,f)}catch(e){console.warn("Error notifying deferred",e)}if(f.remove(),n.iframe)try{r(p,n)}catch(e){console.error("Failed to print from iframe",e.stack,e.message),o(p,n)}else o(p,n);return this}}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.