{"id":18805859,"url":"https://github.com/m-thompson-code/tampermonkey-userscripts","last_synced_at":"2026-01-08T00:30:16.382Z","repository":{"id":102504412,"uuid":"248875598","full_name":"m-thompson-code/tampermonkey-userscripts","owner":"m-thompson-code","description":"Some userscripts I've created for personal use. I do requests.","archived":false,"fork":false,"pushed_at":"2021-02-11T06:09:56.000Z","size":3563,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T18:41:27.321Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-thompson-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-21T00:03:01.000Z","updated_at":"2021-02-11T06:09:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"b020b769-cf4a-4b80-8c64-8691830d4feb","html_url":"https://github.com/m-thompson-code/tampermonkey-userscripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thompson-code%2Ftampermonkey-userscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thompson-code%2Ftampermonkey-userscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thompson-code%2Ftampermonkey-userscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-thompson-code%2Ftampermonkey-userscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-thompson-code","download_url":"https://codeload.github.com/m-thompson-code/tampermonkey-userscripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742365,"owners_count":19689308,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T22:45:18.126Z","updated_at":"2026-01-08T00:30:16.333Z","avatar_url":"https://github.com/m-thompson-code.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Various userscripts\n\nI use the userscript manager, Tampermonkey: [https://www.tampermonkey.net/](https://www.tampermonkey.net/)\n\nThis allows me to run javascript whenever I visit sites. Here are some of my personal scripts I've written:\n\n\n\n## Warning!\n\nRunning random javascript that can run on any site you visit from a stranger is a very bad idea! Someone could steal your personal information, steal your passwords, etc. Please do not just use these scripts bindly! If you ever run into a userscript that you don't fully understand, you shouldn't use it. Be safe! :D \n\n\n\n## no-popups-userscript.js\nPrevents popups from various sites. Please update @match for your needs.\n\n\n## no-photobucket-redirects-userscript.js\nPrevents photobucket from redirecting you to other pages as a form of forcing you to see ads.\n\n\n## dark-souls-3-is-a-hack-n-slash-userscript.js\nThis script made it look like dark souls was a hack n slash game on Steam during one of their sales. This is an inside joke between friends as we like to joking argue whether or not dark souls is a hack n slash. Obviously this script won't work now since Steam has updated their site, but the code is still interesting to reference.\n\nHere are some screenshots and a video of the results of the script:\n[Video recording](https://www.youtube.com/watch?v=-BoC6rvFP5U)\n[Screenshot](https://cdn.discordapp.com/attachments/613030229958590485/661004912716415038/Hack_n_Slash_2.PNG)\n\n## auto-twitch-channel-bonus-points.js\nAuto clicks the treasure chess icon when watching someone's twitch. This can be very useful since you can leave this running while someone's twitch is minimized or on a different tab.\n\n## auto-like-new-instagram-post.js\n!Warning - Instagram has safeguards in place for stuff like this. They will prevent http requests after a minute of this script running\nYou may get locked out of your account if you overuse this script. So far I've been locked out temporarily (1 day) and only locked out of profiles where I can using the script. Regardless, use at your own risk.\n\nOpen your Chrome console and use either of these methods to start/stop a 'hunt' for the newest post\n\n`hunt()` - Will refresh the page over and over again until a new post is found. Once it is found, it will be opened and liked for you.\n`hunt(num)` - Debounce on num milliseconds between refreshes (4000 seconds allows for roughly an hour of refreshing before getting blocked out).\n`stopHunt()` - Will stop any 'hunts' you have active.\n\nThis script is useful if you want to compete for the first like\n\n## bypass-medium-paywall.js\nAuto redirects to Twitter and back. This is done because Medium doesn't enforce a paywall on articles where the referrer is Twitter. This script also adds a refresh button to handle edge cases where you are navigating on the Medium site and no redirect takes place (due to some of the behavior of the site being Single Page Application)\n\nThere's a one-liner workaround where you mess up the cookie's uid value. This is the best performt way to get around the paywall, but you can't be signed in when using this bypass trick. Also you will still get ads / ui reminding you of your 'limit' on free articles.\n\n## bypass-la-times.js\nRemoves paywall html/css and forces normal behavior on the articles being viewed. Works without having to be signed in (haven't tested if it works when you're signed in, but I'd expect it to). Something to note about this solution is that the la times tries to scroll you to the top of the page, so even if you remove the overlay and make the page 'scrollable', you'll not be able to read the article. To work around this, we make the body tag have max height 100vh and make that scrollable using overflow-y: auto. This means that the styles of the site is changed slightly. I wouldn't expect anyone to notice this change.\n\n## bypass-new-york-times.js\nRemoves paywall html/css and forces normal behavior on the articles being viewed. Works without having to be signed in, and works when you are signed in.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-thompson-code%2Ftampermonkey-userscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-thompson-code%2Ftampermonkey-userscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-thompson-code%2Ftampermonkey-userscripts/lists"}