Uncheck Include McAfee on Adobe downloads

Disable Adobe's default inclusion of optional McAfee software in downloads.

当前为 2015-08-10 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Uncheck Include McAfee on Adobe downloads
  3. // @namespace albionresearch
  4. // @description Disable Adobe's default inclusion of optional McAfee software in downloads.
  5. // @include http://get.adobe.com/*
  6. // @include https://get.adobe.com/*
  7. // @version 1.1
  8. // @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js
  9. // @require https://greasyfork.org/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=19641
  10. // @grant GM_addStyle
  11. // ==/UserScript==
  12. // http://stackoverflow.com/questions/11195658/run-greasemonkey-script-on-the-same-page-multiple-times/11197969#11197969
  13.  
  14. function uncheckOffer(jNode) {
  15. if (document.getElementById("offerCheckbox").checked) {
  16. document.getElementById("offerCheckbox").click();
  17. // By faking a click() the download size gets recalculated and text gets updated.
  18. //alert( "Got it" );
  19. }
  20. }
  21.  
  22. waitForKeyElements( "#offerCheckbox", uncheckOffer );