Skip to content

Instantly share code, notes, and snippets.

@roobie
Last active August 29, 2015 14:15
Show Gist options
  • Save roobie/3653fe7944d75bbd863c to your computer and use it in GitHub Desktop.
Save roobie/3653fe7944d75bbd863c to your computer and use it in GitHub Desktop.
GreaseMonkey user script. Unchecks all inputs on the document
// ==UserScript==
// @name Uncheck Flash "Optional" Offer
// @namespace bjorn
// @description No one wants McAffee
// @include http://get.adobe.com/*
// @version 1
// @grant none
// ==/UserScript==
document.addEventListener('DOMContentLoaded', function () {
setTimeout(function loop() {
console.log('yeah')
var chb = $('#offerCheckbox');
if(!chb.length) {
setTimeout(loop, 300);
}
chb.removeAttr('checked')
chb.trigger('change');
}, 300);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment