News for hackers. Stuff that matters.

strikeX

Re:A browser extension to make Medium more readable on Thursday July 12, 2018 @03:31AM (#17512845)
I just use a bookmarked script which I came across on some thread here.

javascript:(function()%7B(function () %7Bvar i%2C elements %3D document.querySelectorAll('body *')%3Bfor (i %3D 0%3B i < elements.length%3B i%2B%2B) %7Bif (getComputedStyle(elements%5Bi%5D).position %3D%3D%3D 'fixed') %7Belements%5Bi%5D.parentNode.removeChild(elements%5Bi%5D)%3B%7D%7D%7D)()%7D)()

I have bookmarked it and whenever there is an annoying pop-up or long headers and footers just run the script. Very useful for these kinds of websites.

For those who don't know how to use the above script: Bookmark this page -> go to all bookmarks and replace bookmark address/url with above script. Click on this bookmark with medium website open and you will see all the crap go away.

Ask HN: Recommended course/website/book to learn data structure and algorithms

I am a full-time Android developer who does most of his programming work in Java. I am a non CS graduate so didn't study Data structure and algorithms course in university so I am not familiar with this subject which is hindering my prospect of getting better programming jobs. There are so many resources out there on this subject that I am unable to decide which one is the best for my case....

( Read More... | 4 comments | 3 points | on HN )