{"id":15543784,"url":"https://github.com/amiel/html5support","last_synced_at":"2025-04-23T17:29:24.609Z","repository":{"id":66642233,"uuid":"489912","full_name":"amiel/html5support","owner":"amiel","description":"Support certain HTML 5 attributes with javascript, but only if the browser doesn't already support them.","archived":false,"fork":false,"pushed_at":"2014-06-16T19:02:36.000Z","size":180,"stargazers_count":24,"open_issues_count":3,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-03T12:33:10.198Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amiel.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-01-26T22:05:34.000Z","updated_at":"2019-08-13T14:30:52.000Z","dependencies_parsed_at":"2023-02-20T10:15:38.575Z","dependency_job_id":null,"html_url":"https://github.com/amiel/html5support","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/amiel%2Fhtml5support","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fhtml5support/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fhtml5support/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amiel%2Fhtml5support/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amiel","download_url":"https://codeload.github.com/amiel/html5support/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250480077,"owners_count":21437485,"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-10-02T12:28:22.407Z","updated_at":"2025-04-23T17:29:24.588Z","avatar_url":"https://github.com/amiel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"= HTML5 Support\n\nThe aim of HTML5 is to seamlessly provide support an extremely lightweight plugin for a few commonly used html5 attributes for browsers that don't already support them.\n\nHTML5 Support currently supports the placeholder attribute and the autofocus attribute.\nHTML5 Also supports type=\"password\" fields, by special casing them, and swapping elements.\n\n== Example\n\n=== HTML\n\n    \u003cinput type=\"text\" autofocus /\u003e\n    \u003cinput type=\"text\" placeholder=\"Search Here\" name=\"q\" /\u003e\n    \u003cinput type=\"password\" placeholder=\"Password\" name=\"pass\" /\u003e\n\n=== jQuery\n\n    $(document).ready(function() {\n      $.html5support();\n\n      // or you can also run only support for what you want\n      $.placeholder();\n      // - or -\n      $.autofocus();\n    });\n\n=== CSS\n\nUse this CSS if you would like your placeholder text to show up grey in browsers that do not natively support placeholder.\n\n    .placeholder{ color: #888; }\n\n== TODO\n\nSupport could be added for more HTML5 features. Ideas:\n\n* \u003cinput pattern=\"/regex/\" /\u003e\n\n== License\n\nHTML5 Support is licensed under the MIT License. See the MIT-License.txt file for full details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiel%2Fhtml5support","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famiel%2Fhtml5support","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famiel%2Fhtml5support/lists"}