PageSourceSearch

https://tiny.cc/tiny/js/tinycc/recent.js

js tiny.cc collected 2026-10-01 06:40:44 UTC 756 bytes, 24 lines download raw bytes

1ready(function(){
2	$('body').on('click', '#recent ul li a.tinyurl', function(e) {
3	  var id = $(this).attr("data-short-id");
4	  e.preventDefault();
5	  recent_urls_widget.update(id);
6	});
7
8	$('body').on('click', '.remove-recent', function(e) {
9	  var id = $('#recent ul li.selected a.tinyurl').attr('data-short-id');
10	  e.preventDefault();
11	  recent_urls_widget.remove(id);
12	});
13
14	var clipboard = new ClipboardJS('.copy-recent-url');
15	var copy_id = 0;
16	clipboard.on('success', function(e) {
17		copy_id++;
18		var offset = $(e.trigger).offset();
19		$('body').append('<span class="fade-buble" id="copy'+copy_id+'" style="left:'+offset.left+'px;top:'+offset.top+'px">'+'OK'+'</span>');
20		setTimeout(function(){
21			$('#copy'+copy_id).remove();
22		}, 1000);
23	});
24});

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.