Stop AMO Condescension

Stops mozilla from hiding links to download incompatible addons

  1. // ==UserScript==
  2. // @name Stop AMO Condescension
  3. // @namespace https://greasyfork.org/en/scripts/13579-stop-amo-condescension
  4. // @description Stops mozilla from hiding links to download incompatible addons
  5. // @include http://addons.mozilla.org/*
  6. // @include https://addons.mozilla.org/*
  7. // @version 2
  8. // @grant none
  9. // ==/UserScript==
  10. var i;
  11. var elem
  12. var divs = document.getElementsByTagName("div");
  13.  
  14. for (i = 0; i < divs.length; i++) {
  15. elem = divs[i];
  16. if (elem.hasAttribute("data-min")) elem.setAttribute("data-min", "1.0");
  17. if (elem.hasAttribute("data-max")) elem.setAttribute("data-max", "99.*");
  18. }
  19.