by Guest9812398 · 8y ago · 0 comments
I'm assuming that using X-Frame-Options to prevent the page from appearing in a frame prevents this type of attack.
That works out of the box, it's a native HTML/browser feature.
Why do you pass location.hash to jQuery?
In scenarios where you can’t redesign the html structure or css to give the element more padding, you pretty much have to use javascript to get the window-x position of the element.