{"id":31788933,"url":"https://github.com/zerosdev/zse-safelink-js","last_synced_at":"2026-08-05T07:31:14.297Z","repository":{"id":119475083,"uuid":"141063821","full_name":"zerosdev/ZSE-Safelink-JS","owner":"zerosdev","description":"JavaScript-based safelink engine to convert all outgoing page links into safelink URL automatically","archived":false,"fork":false,"pushed_at":"2018-07-17T23:22:44.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-10T14:31:32.439Z","etag":null,"topics":["javascript","safelink"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zerosdev.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-07-15T22:51:51.000Z","updated_at":"2022-02-02T17:04:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"4ab9360b-ddf0-4b8c-ab02-df92b903e8ac","html_url":"https://github.com/zerosdev/ZSE-Safelink-JS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zerosdev/ZSE-Safelink-JS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2FZSE-Safelink-JS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2FZSE-Safelink-JS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2FZSE-Safelink-JS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2FZSE-Safelink-JS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zerosdev","download_url":"https://codeload.github.com/zerosdev/ZSE-Safelink-JS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zerosdev%2FZSE-Safelink-JS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36304102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-05T02:00:06.619Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","safelink"],"created_at":"2025-10-10T14:29:11.324Z","updated_at":"2026-08-05T07:31:14.292Z","avatar_url":"https://github.com/zerosdev.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zeros Safelink Engine (ZSE)\nJavaScript safelink engine to convert all outgoing page links into safelink URL automatically\n\nThis library provide easy way to convert all of your page links into your Safelink URL. For example :\n\n\u003cpre\u003e\u003ccode\u003e\u0026#x3C;a href=\u0026#x22;https://youroutgoinglink.com\u0026#x22;\u0026#x3E;Your Outgoing Link\u0026#x3C;/a\u0026#x3E;\u003c/code\u003e\u003c/pre\u003e\n\nwill be converted to :\n\n\u003cpre\u003e\u003ccode\u003e\u0026#x3C;a href=\u0026#x22;https://yoursafelink.com/out?go=aHR0cHM6Ly95b3Vyb3V0Z29pbmdsaW5rLmNvbQ==\u0026#x22;\u0026#x3E;Your Outgoing Link\u0026#x3C;/a\u0026#x3E;\u003c/code\u003e\u003c/pre\u003e\n\nThis library also has cookie management, so you can decide to keep your visitors always directed to your safelink page or not.\n\nThis is proof of how easy this library is :\n\n1. You need to include the main library into your bottom of every page you want to enable safelink (above of \u0026lt;/body\u0026gt; tag)\n\u003cpre\u003e\u003ccode\u003e\u0026#x3C;script src=\u0026#x22;/path/to/your/ZSE.min.js\u0026#x22;\u0026#x3E;\u0026#x3C;/script\u0026#x3E;\u003c/code\u003e\u003c/pre\u003e\n\n2. Start for setting up your safelink\n\n\u003cpre\u003e\u003ccode\u003e\u0026#x3C;script\u0026#x3E;\n\nZSE.safelink(\u0026#x22;http://your-safelink.com/go?url=\u0026#x22;)\n  .except(['zeros.co.id'])\n  .delay(1)\n  .repeat(5, 60)\n  .run();\n\n\u0026#x3C;/script\u0026#x3E;\n\u003c/code\u003e\u003c/pre\u003e\n\n3. You're ready to go!\n\n# Available Options\n\n\u003cb\u003e.safelink()\u003c/b\u003e\n\nDefine your safelink URL. This option must have value. if not, error will be thrown. For example :\n\u003cpre\u003e\u003ccode\u003e.safelink('https://your-safelink.com/go?url=')\u003c/code\u003e\u003c/pre\u003e\n\n\u003cb\u003e.except()\u003c/b\u003e\n\nAdd some domains that SHOULD NOT be converted. This option should have an array value. For example :\n\u003cpre\u003e\u003ccode\u003e.except(['facebook.com','youtube.com','zeros.co.id'])\u003c/code\u003e\u003c/pre\u003e\n\n\u003cb\u003e.only()\u003c/b\u003e\n\nAdd some domains that SHOULD BE converted. This option should have an array value. For example :\n\u003cpre\u003e\u003ccode\u003e.only(['twitter.com','github.com'])\u003c/code\u003e\u003c/pre\u003e\n\n\u003cb\u003e.delay()\u003c/b\u003e\n\nEnable / disable delay for safelink (in minute). 0 = disable = all links will always be converted. Default value is \u003cb\u003e5\u003c/b\u003e minute. For example:\n\u003cpre\u003e\u003ccode\u003e.delay(15)\u003c/code\u003e\u003c/pre\u003e\n\n\u003cb\u003e.repeat()\u003c/b\u003e\n\nAdd custom repetition. If this method not configured, the conversion will always executed. For example to repeat safelink conversion 3 times every 60 minutes :\n\u003cpre\u003e\u003ccode\u003e.repeat(3, 60)\u003c/code\u003e\u003c/pre\u003e\n\n\u003cb\u003e.linkCount()\u003c/b\u003e\n\nGet link count form current page. This option will return integer value\n\n\u003cb\u003e.run()\u003c/b\u003e\n\nRun / execute engine\n\n\n# Note\n\n1. If there is an error, this engine will not be executed and error message will appear in your browser's console.\n2. This code is open for public development\n3. This code is distributed under MIT License, you can redistribute this code WITHOUT removing or changing creator's credit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerosdev%2Fzse-safelink-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerosdev%2Fzse-safelink-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerosdev%2Fzse-safelink-js/lists"}