PageSourceSearch

https://southtravels.com/theme/js/new-script.js

js southtravels.com collected 2026-10-02 11:14:11 UTC 760 bytes, 18 lines download raw bytes

1document.addEventListener('DOMContentLoaded', () => {
2    document.querySelectorAll('.single-content').forEach(hoverItem => {
3        hoverItem.addEventListener('mousemove', (e) => {
4            const rect = hoverItem.getBoundingClientRect();
5            const offsetX = e.clientX - rect.left;
6            const offsetY = e.clientY - rect.top;
7
8            const moveX = (offsetX - rect.width / 2) / 5; // Adjust divisor for sensitivity
9            const moveY = (offsetY - rect.height / 2) / 5; // Adjust divisor for sensitivity
10
11            hoverItem.style.transform = `translate(${moveX}px, ${moveY}px)`;
12        });
13
14        hoverItem.addEventListener('mouseleave', () => {
15            hoverItem.style.transform = 'translate(0, 0)';
16        });
17    });
18});

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.