Skip to content

Instantly share code, notes, and snippets.

@urecho
Last active November 30, 2016 10:41
Show Gist options
  • Save urecho/97192dba8a43abc72db4 to your computer and use it in GitHub Desktop.
Save urecho/97192dba8a43abc72db4 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @author urecho
// @match https://feedly.com/*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
'use strict';
(function(window, undefined ) {
waitForKeyElements("[data-page-action]", callbackFunction);
waitForKeyElements("[data-feedid]", callbackFunction);
waitForKeyElements("[data-reactid]", callbackFunction);
waitForKeyElements("[data-follow]", callbackFunction);
waitForKeyElements("[data-uri]", callbackFunction);
})(window);
function callbackFunction (jNode) {
jNode.attr('role', 'button');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment