(function() {
'use strict';
var css = $('<style type="text/css">.js-activity-retweeted_retweet,.js-activity-favorited_retweet{ display: none; }</style>');
$('body').append(css);
var button = $('<input type="checkbox">');
var label = $('<label class="NotificationsSettingsButton"></label>').append(button).append('RT');
$('.ProfileHeading-toggle > .NotificationsSettingsButton').after(label);
button.change(function () {
if ($(this).prop('checked')) {
css.remove();
} else {
$('body').append(css);
}
});
})();