Soylent Order Deconfuseifier

Bags, not meals!

  1. // ==UserScript==
  2. // @name Soylent Order Deconfuseifier
  3. // @namespace http://timdorr.com/
  4. // @version 1.0
  5. // @description Bags, not meals!
  6. // @author Tim Dorr <soylent@timdorr.com>
  7. // @match https://www.soylent.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. $("#powder-quantity-select option").each(function() {
  12. var meals = $(this).text().match(/^(\d+) /)[0];
  13. var bags = meals / 4;
  14. var weeks = bags / 7;
  15. $(this).text(bags + " Bags / " + weeks + " Weeks / " + meals + " Meals" );
  16. });
  17.  
  18. $("#drink-quantity-select option").each(function() {
  19. var bottles = $(this).text().match(/^(\d+) /)[0];
  20. var days = bottles / 5;
  21. $(this).text(days + " Days / " + bottles + " Bottles" );
  22. });

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址