{"id":24518521,"url":"https://github.com/dperrymorrow/obfuscate.js","last_synced_at":"2025-03-15T11:12:46.209Z","repository":{"id":140595921,"uuid":"3920441","full_name":"dperrymorrow/obfuscate.js","owner":"dperrymorrow","description":"hide email addresses and display them with js, ( no serverside code required )","archived":false,"fork":false,"pushed_at":"2012-04-04T00:09:51.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T01:42:49.207Z","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/dperrymorrow.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}},"created_at":"2012-04-03T17:15:19.000Z","updated_at":"2016-02-25T07:25:56.000Z","dependencies_parsed_at":"2023-03-13T10:41:30.172Z","dependency_job_id":null,"html_url":"https://github.com/dperrymorrow/obfuscate.js","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/dperrymorrow%2Fobfuscate.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dperrymorrow%2Fobfuscate.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dperrymorrow%2Fobfuscate.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dperrymorrow%2Fobfuscate.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dperrymorrow","download_url":"https://codeload.github.com/dperrymorrow/obfuscate.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243719398,"owners_count":20336607,"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":"2025-01-22T01:43:05.438Z","updated_at":"2025-03-15T11:12:46.152Z","avatar_url":"https://github.com/dperrymorrow.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Obfuscate.js jquery plugin\n\nHide your email address from bots.\n\n## Usage\n\n- include obfuscate.js after jquery in your head or wherever you like\n- write your email address on the page like gmail.com/dperrymorrow instead of dperrymorrow@gmail.com\n- showEmail() will format back to mailto link with javascript avoiding bots, but not annoying your users\n\n### Standard\n\n````html\n\u003c!-- disguises your email links as regular hrefs, tell bots to not follow as they are not valid links --\u003e\n\u003ca class=\"show\" href=\"gmail.com/dperrymorrow\" rel=\"no-follow\"\u003edavid morrow\u003c/a\u003e\n\u003ca class=\"show\" href=\"gmail.com/dperrymorrow\" rel=\"no-follow\"\u003edavid morrow\u003c/a\u003e\n````\n\n````javascript\n$('.show').revealEmail()\n````\n#### Results in\n````html\n\u003ca class=\"show\" href=\"mailto:dperrymorrow@gmail.com\" rel=\"no-follow\"\u003edavid morrow\u003c/a\u003e\n````\n\n### Format the label as well\nsometimes you might want to display the email address as the label as well. You can by passing in an additional\n\n````html\n\u003c!-- disguises your email links as regular hrefs, tell bots to not follow as they are not valid links --\u003e\n\u003ca class=\"show\" href=\"gmail.com/dperrymorrow\" rel=\"no-follow\"\u003egmail.com/dperrymorrow\u003c/a\u003e\n\u003ca class=\"show\" href=\"gmail.com/dperrymorrow\" rel=\"no-follow\"\u003egmail.com/dperrymorrow\u003c/a\u003e\n````\n\n````javascript\n$('.show').revealEmail(true)\n````\n\n#### Results in\n````html\n\u003ca class=\"show\" href=\"mailto:dperrymorrow@google.com\" rel=\"no-follow\"\u003edperrymorrow@gmail.com\u003c/a\u003e\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdperrymorrow%2Fobfuscate.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdperrymorrow%2Fobfuscate.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdperrymorrow%2Fobfuscate.js/lists"}