{"id":16350434,"url":"https://github.com/eusonlito/jquery.applink","last_synced_at":"2025-06-16T08:03:28.992Z","repository":{"id":10477497,"uuid":"12654530","full_name":"eusonlito/jquery.applink","owner":"eusonlito","description":"Launch native apps from web page links for mobile and desktop devices","archived":false,"fork":false,"pushed_at":"2016-04-08T08:41:36.000Z","size":38,"stargazers_count":135,"open_issues_count":0,"forks_count":31,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-03-08T15:31:05.239Z","etag":null,"topics":["applink","javascript","jquery","native-apps"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"openshift/ruby-hello-world","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eusonlito.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}},"created_at":"2013-09-06T21:01:35.000Z","updated_at":"2024-09-01T20:45:24.000Z","dependencies_parsed_at":"2022-09-11T04:02:12.190Z","dependency_job_id":null,"html_url":"https://github.com/eusonlito/jquery.applink","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eusonlito%2Fjquery.applink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eusonlito%2Fjquery.applink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eusonlito%2Fjquery.applink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eusonlito%2Fjquery.applink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eusonlito","download_url":"https://codeload.github.com/eusonlito/jquery.applink/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243822312,"owners_count":20353496,"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":["applink","javascript","jquery","native-apps"],"created_at":"2024-10-11T01:04:57.842Z","updated_at":"2025-03-16T15:31:27.903Z","avatar_url":"https://github.com/eusonlito.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jquery.applink\n==============\n\nCreate links to native apps from mobile (or minor cases from desktop) browsers.\n\nHTML links should have the web url as default, but you can add an alternate link using the registered app protocol to invoke apps like Facebook, Twitter, Foursquare, etc...\n\nExample:\n\n```html\n\u003ca href=\"https://facebook.com/me\" data-applink=\"fb://profile\"\u003eMy Facebook Profile\u003c/a\u003e\n```\n\nAlso, you can use it to share your page, like:\n\n```html\n\u003ca href=\"http://twitter.com/intent/tweet?url=\u003c?php echo $url; ?\u003e\u0026amp;text=\u003c?php echo urlencode($text); ?\u003e\" data-applink=\"twitter://post?url=\u003c?php echo $url; ?\u003e\u0026amp;text=\u003c?php echo urlencode($text); ?\u003e\"\u003eShare My Web in Twitter\u003c/a\u003e\n```\n\nThis action will try to open the Twitter mobile app, and if is not available, it will open the default share modal at browser.\n\nYou have a extended schemes list available at http://wiki.akosma.com/IPhone_URL_Schemes and http://handleopenurl.com/scheme\n\nPlugin detects the `target=\"_blank\"` tag attribute, but take care because the window will be open with javascript function `window.open` and can be blocked by browser.\n\nTo enable the plugin:\n\n```javascript\n$(document).ready(function () {\n    $('a[data-applink]').applink();\n});\n```\n\nAll options and default values:\n\n```javascript\n$(document).ready(function () {\n    $('a[data-applink]').applink({\n        popup: 'auto', // disable/enable share popup created by plugin. If auto, only will be enabled to popupDomains domains\n        popupDomains: 'twitter|facebook', // If \"popup\" option is auto, it will check this domains to open a domain or redirect to page\n        desktop: false, // disable/enable native app check for no mobile devices\n        data: 'applink' // load native links from data-XXXXXX attribute,\n        timeout: 1500 // time in ms to detect app before launch HTTP link (only when is mobile and desktop is false)\n    });\n});\n```\n\nAlso, if you are using this plugin to set native links to a large list, you can use the delegate function to get the best performance:\n\n```javascript\n$(document).ready(function () {\n    $('.links-list').applink({\n        popup: 'auto', // disable/enable share popup created by plugin. If auto, only will be enabled to popupDomains domains\n        popupDomains: 'twitter|facebook', // If \"popup\" option is auto, it will check this domains to open a domain or redirect to page\n        desktop: false, // disable/enable native app check for no mobile devices\n        delegate: 'a[data-applink]', // Delegate action into the parent element (default is null)\n        data: 'applink' // load native links from data-XXXXXX attribute,\n        timeout: 1500 // time in ms to detect app before launch HTTP link (only when is mobile and desktop is false)\n    });\n});\n```\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feusonlito%2Fjquery.applink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feusonlito%2Fjquery.applink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feusonlito%2Fjquery.applink/lists"}