PageSourceSearch

https://www.khu.ac.kr/resources/user/_common/_js/print.js

js khu.ac.kr collected 2026-09-24 08:43:13 UTC 668 bytes, 25 lines download raw bytes

1$(function(){
2    $('.print').on('click', function(){
3        printElem()
4    });
5});
6//function printElem() {
7//    document.querySelector('#print').innerHTML = document.querySelector('#contents').innerHTML;
8//    window.print();
9//    document.querySelector('#print').innerHTML = '';
10//}
11
12function printElem() {
13    window.print();
14}
15
16function copyToPrint() {
17    document.querySelector('#print').innerHTML = document.querySelector('#contents').innerHTML;
18}
19
20function clearPrint() {
21    document.querySelector('#print').innerHTML = '';
22}
23
24window.addEventListener('beforeprint', copyToPrint);
25window.addEventListener('afterprint', clearPrint);

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.