PageSourceSearch

https://www.japan-baseball.jp/en/common/js/jquery.dwImageProtector.js

js japan-baseball.jp collected 2026-10-02 03:55:29 UTC 785 bytes, 38 lines download raw bytes

1/*
2	Class:    	dwIMageProtector
3	Author:   	David Walsh
4	Website:    http://davidwalsh.name
5	Version:  	1.0.0
6	Date:     	08/09/2008
7	Built For:  jQuery 1.2.6
8*/
9
10jQuery.fn.protectImage = function(settings) {
11	settings = jQuery.extend({
12		image: '/jp/img/common/blank.gif',
13		zIndex: 10
14	}, settings);
15	return this.each(function() {
16		var position = $(this).position();
17		var height = $(this).height();
18		var width = $(this).width();
19		$('<img />').attr({
20			width: width,
21			height: height,
22			src: settings.image
23		}).css({
24			/*border: '1px solid #f00',*/
25			padding:'5px',
26			top: position.top,
27			left: position.left,
28			position: 'absolute',
29			zIndex: settings.zIndex
30		}).appendTo('#container')
31	});
32};
33
34
35
36$(window).bind('load', function() {
37	$('.protect').protectImage();
38});

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.