2025-04-12 16:42:49 +08:00

17 lines
519 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

jQuery(document).ready(function($) {
$('.view-location').on('click', function() {
alert('经纬度:' + $(this).data('lat') + ', ' + $(this).data('lng'));
});
$('.view-gpu').on('click', function() {
alert('GPU 信息:\n' + $(this).data('gpu'));
});
$('.view-ua').on('click', function() {
alert('User Agent\n' + $(this).data('ua'));
});
$('.view-uach').on('click', function() {
alert('User Agent Client Hints\n' + $(this).data('uach'));
});
});