<p>In Javascript:
How does one find the coordinates (x, y, height, width) of every link in a webpage?</p>

Using jQuery, it's as simple as:
```
```
$("a").each(function() {
    var link = $(this);
    var top = link.offset().top;
    var left = link.offset().left;
    var width = link.offset.width();
    var height = link.offset.height();
});
```
```