PageSourceSearch

https://ohsho.co.jp/shop/js/currentPosition.js

js ohsho.co.jp collected 2026-09-24 09:23:23 UTC 471 bytes, 20 lines download raw bytes

1
2$(function () {
3	$('#currentPosition').click(function( event ) {
4		navigator.geolocation.getCurrentPosition( 
5				gps_success,
6				gps_error 
7		); 
8		function gps_success( position ){
9			url = 'https://map.ohsho.co.jp/b/ohsho/?t=prefectures&lat=' + position.coords.latitude + '&lon=' + position.coords.longitude + '&zoom=6';
10			location.href = url;
11		}
12		
13		function gps_error( position ){
14			return false;
15		}
16		
17		event.preventDefault();
18	});
19});
20

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.