Giter Site home page Giter Site logo

datguyducky / no-awards-fr Goto Github PK

View Code? Open in Web Editor NEW
5.0 0.0 0.0 92 KB

Hide awards at reddit.com and old.reddit.com

License: MIT License

CSS 7.26% JavaScript 92.74%
disable-awards hide-awards reddit-application reddit web-extension hacktoberfest

no-awards-fr's People

Contributors

datguyducky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

no-awards-fr's Issues

RESEARCH: better way to add new items to settings menu

Right now to add new setting to settings menu means we need to do a couple of steps:

  1. create new .css file
  2. paste and adjust this code in the no-awards-menu.html file:
<div class="op-wrap">
	<label for="toggle-RENAME_THIS" class="op-label">
		Give awards buttons:
	</label>
	<div class="toggle-wrap">
		<input
			type="checkbox"
			name="toggle"
			id="toggle-RENAME_THIS"
			class="toggle-checkbox"
		/>
		<label for="toggle-RENAME_THIS" class="toggle-label"></label>
	</div>
</div>
  1. add the newly added .css file inside the "web_accessible_resources" part in the manifest.json file
  2. adjust both the handle-settings.js and no-awards.js files (with a correct name, preferably the same one that was used for the css file)

As we can see above, there's a lot of steps and copying and pasting to add that new option, it would be good idea to find a solution which would enable adding new setting more quickly and that would be less prone to errors

Better classes/ids for settings

Right now classes (or ids) are named like this: toggle-op-1 which is far from being a good solution. I would prefer to use more descriptive names for it, for example toggle-comments-and-awards

Suggestion: non-interactable awards

This is an outstanding extension, and I use it every day. But... I would actually prefer something slightly different. The awards visuals don't really bother me, it is the fact that they are interactable. I accidentally click on them all the time. If the extension only made it so that awards did not react to mouseover or clicks, but were still visible, that would be perfect for me.

Probably not a simple change, so feel free to ignore the suggestion. Thanks for a super useful extension!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.