PageSourceSearch

https://unicornwars.jp/js/smoothscroll.js

js unicornwars.jp collected 2026-10-07 00:09:05 UTC 361 bytes, 13 lines download raw bytes

1$(function() {
2	// Smooth Scroll
3	var easing = 'easeInOutCubic';
4	var speed = 800;
5	var asobi = 0;
6	$('a[href^=#]').click(function() {
7		var href= $(this).attr("href");
8		var target = $(href == "#" || href == "" ? 'html' : href);
9		var position = target.offset().top-asobi;
10		$('body,html').animate({scrollTop:position}, speed, easing);
11		return false;
12	});
13});

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.