Greasy Fork is available in English.

Thingiverse zip download

Restores zip file download button on Thingiverse

  1. // ==UserScript==
  2. // @name Thingiverse zip download
  3. // @namespace Nickel
  4. // @description Restores zip file download button on Thingiverse
  5. // @icon https://cdn.thingiverse.com/site/img/favicons/favicon-32x32.png
  6. // @version 0.1.1
  7. // @license GNU General Public License v3
  8. // @copyright 2022, Nickel
  9. // @author Nickel
  10. // @grant none
  11. // @include https://www.thingiverse.com/thing:*
  12. // ==/UserScript==
  13.  
  14. var no = location.pathname.match( /[0-9]+/ );
  15. var zip = "/thing:" + no + "/zip";
  16.  
  17. var elm = document.createElement("a");
  18. elm.innerText = "Download zip";
  19. elm.href = zip;
  20. elm.title = "Zip file download";
  21. elm.setAttribute("style", "font-weight: bold; color: black; margin-left: 20px; margin-top: 10px;");
  22.  
  23.  
  24. sidebar = document.getElementsByClassName("SidebarMenu__sidebarMenu--3uBjd");
  25. sidebar[0].appendChild( elm );