33

On a privileges page, each of the privileges are only clickable when JavaScript is enabled, even though they simply link the user to another page. Can we wrap each of the div.privilege-table-rows with an a tag and a normal href, and remove the JavaScript-only clicking?

11

This has been completed by Sklivvz and was deployed earlier today. The privileges in the list are now html <a href> links.

7
+50

It really makes no sense this still happens! SE uses HTML5 (evident by their use of <!DOCTYPE html>), so it is, now, 'legal' to wrap an div with an anchor - why not do it?

The current technique, whilst clever IMO, is ugly; you cannot copy the URL without opening the link, and you cannot open the link in a new tab.


I've made a userscript to convert the annoying div's to a's (which, I might add, was 'legal' in previous HTML versions..., and style it so it looks just like a div. Whether that's the best way or not, I don't know, but it's better than it is now!

Install from Github Gist

If you're unsure on how to install userscripts, see the guide at StackApps

A gif showing it in all its glory!:

enter image description here

However, I really hope this, or the method written above, or any other possible method is implemented by SE soon - a userscript shouldn't be necessary to do this! :(

  • 1
    It's not needed any longer – Taryn Aug 19 '15 at 0:18
  • @bluefeet yay +1! About time :P – ᔕᖺᘎᕊ Aug 19 '15 at 9:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .