1(function(window,document,$,undefined){'use strict';function create_$fake(text){var $fake=$('<textarea />');$fake.css({fontSize:'12pt',position:'fixed',top:'100%'});$fake.prop('readonly',true);$fake.val(text);return $fake;} 2function select($element){var element=$element.get(0);var isReadOnly=$element.prop('readonly');if(!isReadOnly){$element.prop('readonly',true);} 3element.select();element.setSelectionRange(0,$element.val().length);if(!isReadOnly){$element.prop('readonly',false);} 4return $element.val();} 5function exec_copy(){var succeeded;try{succeeded=document.execCommand('copy');}catch(err){succeeded=false;} 6return succeeded;} 7function copy(text){var $container=$('body');var $fake=create_$fake(text);$container.append($fake);select($fake);if(!exec_copy()){return false;} 8window.getSelection().removeAllRanges();$fake.remove();return true;} 9function onClick(event){var $element=$(this);var text=$element.attr('data-st-copy-text');event.preventDefault();if(copy(text)){$element.focus();alert('è¨äºã¿ã¤ãã«ã¨URLãã³ãã¼ãã¾ãã');}else{alert('ãå©ç¨ã®ç°å¢ã¯ã³ãã¼ã«å¯¾å¿ãã¦ãã¾ãã');}} 10function onReady(){$('[data-st-copy-text]').each(function(index,element){$(element).on('click',onClick);});} 11$(onReady);}(window,window.document,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.