{"id":18435940,"url":"https://github.com/dividedby/general-url-cleaner-revived","last_synced_at":"2025-04-07T20:32:30.432Z","repository":{"id":161741872,"uuid":"406255838","full_name":"dividedby/General-URL-Cleaner-Revived","owner":"dividedby","description":"Userscript to clean various URLs and remove tracking elements","archived":false,"fork":false,"pushed_at":"2024-05-22T22:12:01.000Z","size":146,"stargazers_count":18,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-22T22:28:29.294Z","etag":null,"topics":["amazon","bing","ebay","facebook","google","javascript","newegg","pocket","target","twitter","userscript","youtube"],"latest_commit_sha":null,"homepage":"https://greasyfork.org/en/scripts/432387-general-url-cleaner-revived","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/dividedby.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":"2021-09-14T06:46:30.000Z","updated_at":"2024-05-22T22:12:04.000Z","dependencies_parsed_at":"2023-12-14T18:52:18.787Z","dependency_job_id":"3db1e16a-31d9-4831-918c-bcc501ea1336","html_url":"https://github.com/dividedby/General-URL-Cleaner-Revived","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/dividedby%2FGeneral-URL-Cleaner-Revived","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dividedby%2FGeneral-URL-Cleaner-Revived/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dividedby%2FGeneral-URL-Cleaner-Revived/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dividedby%2FGeneral-URL-Cleaner-Revived/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dividedby","download_url":"https://codeload.github.com/dividedby/General-URL-Cleaner-Revived/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247725557,"owners_count":20985724,"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":["amazon","bing","ebay","facebook","google","javascript","newegg","pocket","target","twitter","userscript","youtube"],"created_at":"2024-11-06T06:09:45.020Z","updated_at":"2025-04-07T20:32:29.730Z","avatar_url":"https://github.com/dividedby.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eGeneral URL Cleaner Revived\u003c/h1\u003e\nCleans various URL's and/or page links on Google, Youtube, Newegg, Amazon, Ebay, Facebook, Twitter, IMDB, StaticICE, Pocket, Target\u003cbr\u003e\u003cbr\u003e\nIt will clean these URLs regardless of what top level domain (.com, .ca, .fr, etc) or subdomain (unless excluded, various Google sites break easily like Docs, Hangouts, Takeout, etc)\u003cbr\u003e\n\u003cbr\u003eFeel free to report issues or make pull requests for fixes, enhancements, etc: https://github.com/dividedby/General-URL-Cleaner-Revived\u003cbr\u003e\u003cbr\u003e\nhttps://greasyfork.org/en/scripts/432387-general-url-cleaner-revived\n\n\u003ch3\u003eRecent fixes\u003c/h3\u003e\n[Add] Properly support all Amazon TLDs: https://github.com/dividedby/General-URL-Cleaner-Revived/issues/12\n[Add] Strip \"sclient\" parameter from Google search results: https://github.com/dividedby/General-URL-Cleaner-Revived/issues/4\u003cbr\u003e\n[Fix] Resolve issue with \"undefined\" being added to end of cleaned URLs: https://github.com/dividedby/General-URL-Cleaner-Revived/issues/5\u003cbr\u003e\n[Fix] Updated regex of site matching to better catch sites and any top level domain (.com, .co.uk. .fr, etc): https://greasyfork.org/en/scripts/432387-general-url-cleaner-revived/discussions/143277\u003cbr\u003e\n[Add] Add additional Bing parameters to be cleaned: https://greasyfork.org/en/scripts/432387-general-url-cleaner-revived/discussions/143277\u003cbr\u003e\n[Add] New parameters for most supported sites, script runs at document-end to better catch any changes made to URLs that can be cleaned, updates to the core script to formatting and correct JS conventions\u003cbr\u003e\n\n\u003ch3\u003eGoogle\u003c/h3\u003e\nCleans Google search URL's\u003cbr\u003e\nA normal google search URL might look like this: https://www.google.com/search?num=100\u0026q=google\u0026oq=google\u0026gs_l=serp.3..0l10.7976.8565.0.9999.6.6.0.0.0.0.358.617.2-1j1.2.0....0...1c.1.64.serp..4.2.615.BQ3ZvdzuPGE\u003cbr\u003e\nA cleaned google search url: https://www.google.com/search?q=google\u003cbr\u003e\nRemoves redirection of Google results links\u003cbr\u003e\nWorks with international Google sites (not just .com)\n\n\u003ch3\u003eBing\u003c/h3\u003e\nCleans Bing search URL's\u003cbr\u003e\nA normal google search URL might look like this: https://www.bing.com/search?q=google\u0026qs=n\u0026form=QBLH\u0026pq=google\u0026sc=9-2\u0026sp=-1\u0026sk=\u0026cvid=97312C9A5750490FB6C424E46C6759EF\u003cbr\u003e\nA cleaned bing search url: https://www.bing.com/search?q=google\n\n\u003ch3\u003eYoutube\u003c/h3\u003e\nCleaned url always looks like this: https://www.youtube.com/watch?v=[video-id]\u003cbr\u003e\nRemoves redirection of description links\n\n\u003ch3\u003eAmazon\u003c/h3\u003e\nCleaned url always looks like this: http://www.amazon.com/gp/product/[item-id]/ Or this: http://www.amazon.com/dp/[item-id]/\u003cbr\u003e\nWorks with international sites (not just .com)\n\n\u003ch3\u003eFacebook\u003c/h3\u003e\nTypical Facebook link looks like this: https://www.facebook.com/photo/?fbid=3121744148088497\u0026set=pcb.3121748278088084\u003cbr\u003e\nCleaned URL looks like this: https://www.facebook.com/photo/?fbid=3121744148088497\n\n\u003ch3\u003eNewegg\u003c/h3\u003e\nCleaned url always looks like this: http://www.newegg.com/Product/Product.aspx?Item=[item-id]\n\n\u003ch3\u003eEbay\u003c/h3\u003e\nCleaned url always looks like this: http://www.ebay.com/itm/[item-id]\u003cbr\u003e\nWorks with international sites (not just .com)\n\n\u003ch3\u003ePocket\u003c/h3\u003e\nRemoves redirection of Pocket links\n\n\u003ch3\u003eTarget\u003c/h3\u003e\nTarget product URLs must be reloaded when coming from search results as they load in via code and not a page refresh\u003cbr\u003e\nCleaned url always looks like this: https://www.target.com/p/A-[item-id]\u003cbr\u003e\nRemoves unnecessary parameters\n\n\u003ch3\u003eOther\u003c/h3\u003e\nRemoves unnecessary parameters from, Twitter, StaticICE, Disqus\u003cbr\u003e\nRemoves redirection of links\n\n\u003cbr\u003e\u003cbr\u003eThis script forked from beck's script. https://greasyfork.org/en/scripts/395298-general-url-cleaner\n\u003ch3\u003eAdditional fixed\u003c/h3\u003e\n[Add] Add Target.com cleaned item urls, will look like this: https://www.target.com/p/A-[item-id]\u003cbr\u003e\n[Fix] Google Takeout downloads, added takeout.google.com to the exclusions: https://greasyfork.org/en/scripts/395298-general-url-cleaner/discussions/95974\u003cbr\u003e\n[Fix] Resolved issue with Google search parameter sa, without it certain search links aren't able to redirect properly: https://greasyfork.org/en/scripts/395298-general-url-cleaner/discussions/95974\u003cbr\u003e\n[Add] Strip s parameter from Twitter post links: https://greasyfork.org/en/scripts/395298-general-url-cleaner/discussions/71892\u003cbr\u003e\n[Fix] Opening images from normal Google search now expands the selected image: https://greasyfork.org/en/scripts/395298-general-url-cleaner/discussions/87398","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdividedby%2Fgeneral-url-cleaner-revived","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdividedby%2Fgeneral-url-cleaner-revived","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdividedby%2Fgeneral-url-cleaner-revived/lists"}