[aur-general] How the "Popularity" value is being calculated for a package in the AUR4?
arch at carsten-teibes.de
Fri Jun 19 13:35:47 UTC 2015
Am 18.06.2015 um 18:33 schrieb Connor Behan:
> Does anyone know an easy way to hide "Popularity" with a userscript or
> userstyle? [...]
Given that the index of the column not changes, this works:
$('table.results > thead > tr > th:nth-child(5)').hide();
$('table.results > tbody > tr > td:nth-child(5)').hide();
First line removes the header, second line the values. It may not be the
best solution, but I did not find a better way than counting to get the
right column. It uses jQuery from the AUR page, if you want to use it
from a user script you may need a way to inject it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 473 bytes
Desc: OpenPGP digital signature
More information about the aur-general