{"id":13447376,"url":"https://github.com/asual/jquery-address","last_synced_at":"2026-02-20T20:01:45.021Z","repository":{"id":683815,"uuid":"327697","full_name":"asual/jquery-address","owner":"asual","description":"jQuery Address - Deep linking for the masses","archived":false,"fork":false,"pushed_at":"2016-04-30T14:46:11.000Z","size":7557,"stargazers_count":817,"open_issues_count":79,"forks_count":176,"subscribers_count":34,"default_branch":"master","last_synced_at":"2024-04-13T22:01:48.865Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.asual.com/jquery/address","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/asual.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2009-10-05T20:44:45.000Z","updated_at":"2024-04-02T17:40:41.000Z","dependencies_parsed_at":"2022-08-16T10:40:41.550Z","dependency_job_id":null,"html_url":"https://github.com/asual/jquery-address","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/asual%2Fjquery-address","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asual%2Fjquery-address/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asual%2Fjquery-address/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asual%2Fjquery-address/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asual","download_url":"https://codeload.github.com/asual/jquery-address/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244838162,"owners_count":20518798,"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":"2024-07-31T05:01:15.822Z","updated_at":"2025-10-22T16:19:03.869Z","avatar_url":"https://github.com/asual.png","language":"JavaScript","readme":"# jQuery Address\n\nThe jQuery Address plugin provides powerful deep linking capabilities and allows the \ncreation of unique virtual addresses that can point to a website section or an \napplication state. It enables a number of important capabilities including:\n\n* Bookmarking in a browser or social website\n* Sending links via email or instant messenger\n* Finding specific content using the major search engines\n* Utilizing browser history and reload buttons\n\n## Usage\n\nA basic implementation in pure JavaScript can look like this:\n\n    $.address.change(function(event) {  \n        // do something depending on the event.value property, e.g.  \n        // $('#content').load(event.value + '.xml');  \n    });  \n    $('a').click(function() {  \n        $.address.value($(this).attr('href'));  \n    });  \n\nThe plugin also provides a jQuery function which can be directly used in the following way:\n\n    $('a').address();  \n\nThe above snippet can be extended with an additional function that processes the link value:\n\n    $('a').address(function() {  \n        return $(this).attr('href').replace(/^#/, '');  \n    });  \n\nBy default the plugin automatically adds the appropriate JavaScript event handler to every \nlink that has a rel attribute in the following format:\n\n    \u003ca href=\"/deep-link\" rel=\"address:/deep-link\"\u003eDeep link\u003c/a\u003e \n\n## Changes\n\n### 01/22/2013 - jQuery Address 1.6\n\n- Support for jQuery 1.9.\n- Removes the crawlable feature.\n\n### 11/18/2012 - jQuery Address 1.5\n\n- Introduces feature detection where possible.\n- Improves event handling.\n- Fixes various issues.\n- Adds a new subtabs sample.\n\n### 05/04/2011 - jQuery Address 1.4\n\n- Support for jQuery 1.6.\n- Drops the internal de/encoding magic.\n- Drops the Safari 2 support.\n- Fixes various issues.\n- Updates the Express sample.\n\n### 02/04/2011 - jQuery Address 1.3.2\n\n- Support for jQuery 1.5.\n- Issue 48: IE7 \"Permission Denied\" error.\n- Issue 47: Issues for non-Latin urls and State update to change title on click event.\n- Issue 40: Encoding problem in parameter().\n- Issue 38: Issue when form actions containing query variables.\n- Issue 37: Using live events for form submissions.\n\n### 11/29/2010 - jQuery Address 1.3.1\n\n- Issue 26: Values should no longer be only strings.\n- Issue 20: Improves the encoding of special characters.\n- Fixed issue with state value detection.\n- Fixed issue with the global ajaxComplete event.\n\n### 09/26/2010 - jQuery Address 1.3\n\n- Support for the HTML5 onpopstate/pushState/replaceState API.\n- Support for tracker function reference.\n- Support for document.domain in IE6/7.\n- Improved value encoding scheme.\n- New State and Express samples.\n- Improved jQuery UI Tabs sample.\n- Improved event cancellation.\n- GA tracker function lookup is performed only against the top window.\n- Fixes an issue with manual address changes in IE7.\n- Removes IE specific code applicable only for local testing.\n\n### 07/19/2010 - jQuery Address 1.2.2\n\n- Issue 12: Fixes the opening of tab links in a new browser tab.\n- Issue 11: Fixes the rel attr handling for Ajax loaded links.\n- Issue 10: Cannot turn off Google Analytics page tracking.\n- Fixed lazy loading support.\n- Fixed form submission support in IE.\n- Fixed issue with the href attribute in older versions of IE.\n- Tabs sample improvements.\n\n### 05/18/2010 - jQuery Address 1.2.1\n\n- Issue 6: Using links without a href attribute causes an error.\n- Issue 5: Setting parameter = 0 removes it from address.\n\n### 05/05/2010 - jQuery Address 1.2\n\n- New queryString, parameter and path setters.\n- New autoUpdate, crawling and wrap options.\n- New generic bind method.\n- New Accordion, Crawling and Form samples.\n- Support for hash fragments as a part of the value.\n- Basic support for forms.\n- Improved onhashchange support.\n- Switched samples to HTML5.\n- Switched to the Closure compiler.\n- JSLint compatibility.\n- Simple test suite.\n- Support for jQuery 1.4.2 and jQuery UI 1.8.\n\n### 12/23/2009 - jQuery Address 1.1\n\n- New internalChange and externalChange events.\n- New Events sample.\n- Improved IE support.\n- Frameset support.\n\n### 04/28/2009 - jQuery Address 1.0\n\nInitial release.\n","funding_links":[],"categories":["JavaScript","8. 路由和链接(Routing And URLs)"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasual%2Fjquery-address","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasual%2Fjquery-address","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasual%2Fjquery-address/lists"}