Skip to content
A collection of scripts to improve user experience and make life just a little bit easier on various websites
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
readme
.gitignore
.stylelintrc.json
README.md
amazon-clean-ui.user.js
binance-btc-usd.user.js
binance-portfolio-distribution-chart.user.js
etsy-remove-ads.user.js
github-inactive-dev-warning.user.js
google-docs-force-center.user.js
google-docs-word-count.user.js
google-hide-search-interruptions.user.js
harvest-hourly-pay.user.js
jsconfig.json
mint-clean-ui.user.js
package.json
piazza-archive-with-delete-key.user.js
randalls-add-links-inside-cart.user.js
reddit-improve-saved-comments.user.js
soundcloud-download-button.user.js
types.d.ts
yarn.lock
youtube-add-watch-later-button.user.js
youtube-filter-subscriptions-page.user.js

README.md

Tampermonkey Scripts Collection

Making life just a little easier on various websites with simple user interface improvements.

Description

This repo hosts a handful of different script files that Tampermonkey injects into the relevant websites. Certain websites just seemed to be missing something or something simple could really improve the functionality. I took it upon myself to add these features in the most seamless way possible. If you encounter any issues, check the known issues below. Uses Standard JS formatting.

Getting Started

Dependencies

Tampermonkey browser extension (download links)

Chrome | Firefox | Safari | Edge | Opera

Installation

Visit the OpenUser website to download and install any scripts! Scripts are automatically kept up to date with this repository.

Execution

Code will automatically execute on the designated websites!

Usage

  • Binance
    • Add text to display current amounts of crypto in approx. USD value balance line with USD conversion
    • Add chart.js pie chart to display distribution of portfolio holdings pie chart of ratios
    • Add a few extra options for percent of holding to buy or sell view of extra option
  • Harvest
    • Display pre-tax income based on clocked hours, must update with pay rate, defaults to $16 / hour conversion next to hours worked
  • Soundcloud
    • Add seamless download button that uses an external service for any track soundcloud external download button
  • Google Docs
    • Center document on screen and prevent horizontal scrolling
    • Add a status bar at the bottom of the page to track word count and settings inside of the script to control excluding quotes, parenthesis, brackets, etc from count
    • Separate count for seeing word count of selected text footer count
  • Google Search
    • simple script that hides the "People also search for" prompt that sometimes appears when returning to the same search results
  • Etsy
    • hide ad results on search page
  • Github
    • add a large or giant banner if project hasn't been updated in 6 months or 1+ years respectively
  • YouTube
    • filter out videos on subscription page and home page based on given keyword
    • add a watch later button underneath videos to save you a click (on a slow popup menu)
  • Amazon
    • hide all of the junk that clutter Amazon's UI (biased decisions)
  • iCloud Notes
    • kinda convert your note editor to a beautiful dark theme to ease your eyes (uses an interesting method of intercepting function calls on the canvas context object prototype to theme canvas items)
  • Reddit
    • on saved posts / comments page
      • enable middle click to open in new tab for comments
      • move the save / unsave and report buttons out of the hidden menu

For more information on Tampermonkey itself, please refer to their website.

Known Issues

  • ONLY TESTED ON CHROME
  • iCloud Notes
    • COMPLETELY BROKEN due to 2d -> webgl canvas
  • Binance
    • Interacting with new percentages does not trigger an official angular event so it's more of a visual indicator until you press 'buy' or 'sell'
    • Unnecessary usage of 'onElementReady.js'
  • Soundcloud
    • Button does not appear on all types of pages
  • Docs
    • Requires user to scroll throughout document to counteract lazy loading of page content
    • Selecting text while using filters can cause some funky word counts (regex would get far too complicated to realistically fix these issues)
    • Uses 15.4 KB library to determine selected text that's slightly overkill and results in text being processed twice

Contributing

  1. Fork it (https://github.com/zachhardesty7/tamper-monkey-scripts-collection/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

Copyright 2018 Zachary Hardesty

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Full Apache 2.0 License Source

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Acknowledgements

  • Javascript Standard Style - strictly enforced guide of good practices (and no semicolons)
  • Chart.js - Simple HTML5 Charts using the canvas element
  • CryptoCompare API - The best free API for getting cryptocurrency live pricing data
  • onElementReady.js - A utility function, for Greasemonkey scripts, that detects and handles AJAX content.
  • JQuery - jQuery is a fast, small, and feature-rich JavaScript library. (Only used because above library requires it.)
  • SoundCloud to MP3 - With SoundCloud MP3 you can convert and download music in High Quality MP3 format.
  • ChangeValueDetection - Simple interval observer to detect change from user, JS, or anything else
  • Google Docs Word Count - Inspiration for my script, changed formatting, style, and added a few filtering options
You can’t perform that action at this time.