{"id":21456155,"url":"https://github.com/cworld1/search-switcher","last_synced_at":"2026-02-16T00:30:52.638Z","repository":{"id":113839665,"uuid":"586040344","full_name":"cworld1/search-switcher","owner":"cworld1","description":"Add links to each other in search engines","archived":false,"fork":false,"pushed_at":"2025-02-09T16:07:05.000Z","size":156,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T23:05:08.283Z","etag":null,"topics":["javascript","search-engine","userscript"],"latest_commit_sha":null,"homepage":"https://raw.githubusercontent.com/cworld1/search-switcher/main/search-switcher.user.js","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cworld1.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2023-01-06T19:26:42.000Z","updated_at":"2025-02-09T16:07:08.000Z","dependencies_parsed_at":"2023-03-24T06:18:57.315Z","dependency_job_id":"5da7efd7-ecdc-4009-9aec-5d0bdc040d8e","html_url":"https://github.com/cworld1/search-switcher","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cworld1/search-switcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cworld1%2Fsearch-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cworld1%2Fsearch-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cworld1%2Fsearch-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cworld1%2Fsearch-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cworld1","download_url":"https://codeload.github.com/cworld1/search-switcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cworld1%2Fsearch-switcher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29494971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T00:16:34.147Z","status":"ssl_error","status_checked_at":"2026-02-16T00:15:26.759Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","search-engine","userscript"],"created_at":"2024-11-23T05:14:36.063Z","updated_at":"2026-02-16T00:30:52.621Z","avatar_url":"https://github.com/cworld1.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Search Switcher\n\n[![GitHub commit activity](https://img.shields.io/github/commit-activity/t/cworld1/search-switcher?label=commits\u0026style=flat-square)](https://github.com/cworld1/search-switcher/commits)\n[![GitHub stars](https://img.shields.io/github/stars/cworld1/search-switcher?style=flat-square)](https://github.com/cworld1/search-switcher/stargazers)\n[![GitHub license](https://img.shields.io/github/license/cworld1/search-switcher?style=flat-square)](https://github.com/cworld1/search-switcher/blob/main/LICENSE)\n\nAdd links to each other in search engines. Including multiple search modes.\n\n\u003e 在常用的搜索引擎页面中添加互相切换的按钮。\n\n## Screenshots\n\n![image](\u003csrc/Screenshot 2024-05-29 at 17-01-05 cworld1 search-switcher - Google Search.png\u003e)\n\n![image](\u003csrc/Screenshot 2024-05-29 at 17-04-37 cworld1 search-switcher - Bing.png\u003e)\n\n![image](\u003csrc/Screenshot 2024-05-29 at 17-05-18 cworld1 search-switcher_百度搜索.png\u003e)\n\n## Download \u0026 Installnation\n\nFirst you need a userscript extension on your desktop broswer, such as [Tampermonkey](https://www.tampermonkey.net/), [ScriptCat](https://github.com/scriptscat/scriptcat), [Violentmonkey](https://violentmonkey.github.io/), etc.\n\nThen click the download button below:\n\n[![Download](https://user-images.githubusercontent.com/74561130/137598555-649c77c7-1719-4aa3-8017-8b41283de730.png)](https://raw.githubusercontent.com/cworld1/search-switcher/main/search-switcher.user.js)\n\n## Configs\n\nCurrent support:\n\n- Bing\n- Google (very unstable because of A/B test)\n- Baidu\n- DuckDuckGo\n- Github\n- Bilibili\n- Yandex\n\nIf you need to edit the search supporting-list, you can edit script by yourself.\n\nConfig your sites like this:\n\n```javascript\nconst sites = [\n  {\n    // * Display name\n    name: \"Bing\",\n    // * Host name (the \"@include\" above should be added also)\n    host: \"bing.com\",\n    // * switcher element that neeed to insert in\n    element: \".b_scopebar ul\",\n    // * Search link that jump to (replace keywords with %s)\n    link: \"https://www.bing.com/search?q=%s\",\n    // the key of keyword in searching links（Defaults to q if not set）\n    key: \"q\",\n    // Defaults to true if not set, hiding only disappears in the\n    // jump list of regular search, panel will still be shown under the corresponding site\n    enable: true,\n    // Custom styles (applied to a tag)\n    style: \"padding: 0 10px;\",\n  },\n  // ...\n];\n```\n\nBut don't forget to add the `@include` domain to make sure it works.\n\n\u003e [!NOTE] You may need to backup site settings before you update the script.\n\n## Contributions\n\nTo spend more time coding and less time fiddling with whitespace, this project uses code conventions and styles to encourage consistency. Code with a consistent style is easier (and less error-prone!) to review, maintain, and understand.\n\n## License\n\nThis project is licensed under the GPL 3.0 License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcworld1%2Fsearch-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcworld1%2Fsearch-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcworld1%2Fsearch-switcher/lists"}