Skip to content

Instantly share code, notes, and snippets.

Francisco Lobos flobosg

Block or report user

Report or block flobosg

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
flobosg / random-article.js
Created Aug 11, 2014
Instapaper Bookmarklet: Random article
View random-article.js
javascript:var l="";if(location.href!==l){location=l}else{var a=$(".article_item .article_inner_item .title_row a.article_title");a[Math.floor(1+Math.random()*a.length)].click()}
flobosg / highlight-times.js
Last active Aug 29, 2015
Instapaper Bookmarklet: Highlight reading times
View highlight-times.js
javascript:$('.meta_read_time').each(function(){var color;var time = $(this).text();time = time[1] === '·' ? parseInt(time.slice(2)) : parseInt(time);if (time >= 20){color = 'red';} else if (time >= 10){color = 'orange';} else {color = "limegreen";} $(this).css({'background-color': color, 'color': 'white', 'border': '2px solid '+color});});
You can’t perform that action at this time.