maximevaillancourt / change-my-view-new-tab Goto Github PK
View Code? Open in Web Editor NEWDisplay a random top post from /r/changemyview on your New Tab page ๐ง
License: MIT License
Display a random top post from /r/changemyview on your New Tab page ๐ง
License: MIT License
Since the post/comment content HTML comes straight from Reddit and gets CSS applied from the extension itself, this can lead to formatting issues. For example, the heading in the post shown below is bigger than the post title itself:
Possible solution: posts/comments could be wrapped in a class which reduces the size of headings, something like this:
.reddit-content h1,
.reddit-content h2,
.reddit-content h3,
.reddit-content h4,
.reddit-content h5,
.reddit-content h6 {
font-size: 0.9em;
}
NSFW posts are currently displayed by default, and there is no way to prevent them from appearing.
Possible solutions:
As mentioned on Reddit. The top post and comments won't display because the request to Reddit's API is blocked by Firefox's Tracking Protection.
In the post/comment headers, the links to /u/<username>
break when a user "deletes" their post, which effectively creates a link to /u/[deleted]
.
Possible solution: simply detect when the username is equal to [deleted]
, in which case the anchor tag should be removed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.