{"id":233087,"date":"2023-02-04T17:20:00","date_gmt":"2023-02-04T14:20:00","guid":{"rendered":"https:\/\/wordpress.mediadoma.com\/?p=233087"},"modified":"2022-11-10T19:20:41","modified_gmt":"2022-11-10T16:20:41","slug":"jak-avtomatichno-zapovniti-formu-komentarja-za-dopomogoju-javascript","status":"publish","type":"post","link":"https:\/\/wordpress.mediadoma.com\/uk\/jak-avtomatichno-zapovniti-formu-komentarja-za-dopomogoju-javascript\/","title":{"rendered":"\u042f\u043a \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0437\u0430\u043f\u043e\u0432\u043d\u0438\u0442\u0438 \u0444\u043e\u0440\u043c\u0443 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e Javascript?"},"content":{"rendered":"<p>\u0423 \u0441\u0432\u043e\u0457\u0445 \u0431\u043b\u043e\u0433\u0430\u0445 \u0431\u043b\u043e\u0433\u0435\u0440\u0438 \u043c\u0430\u044e\u0442\u044c \u0444\u043e\u0440\u043c\u0438 \u0434\u043b\u044f \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0456\u0432, \u044f\u043a\u0456 \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0432\u0438\u043c\u0430\u0433\u0430\u044e\u0442\u044c \u0432\u0456\u0434 \u0432\u0456\u0434\u0432\u0456\u0434\u0443\u0432\u0430\u0447\u0456\u0432 \u0437\u0430\u043f\u043e\u0432\u043d\u0438\u0442\u0438 \u0430\u0434\u0440\u0435\u0441\u0443 \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u043e\u0457 \u043f\u043e\u0448\u0442\u0438, \u0456\u043c&#8217;\u044f, \u043d\u0435\u043e\u0431\u043e\u0432\u2019\u044f\u0437\u043a\u043e\u0432\u0443 URL-\u0430\u0434\u0440\u0435\u0441\u0443 \u0442\u0430 \u0442\u0435\u043a\u0441\u0442 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f, \u044f\u043a\u0449\u043e \u0432\u043e\u043d\u0438 \u0445\u043e\u0447\u0443\u0442\u044c \u0437\u0430\u043b\u0438\u0448\u0438\u0442\u0438 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440. \u0417\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0443 \u043f\u0435\u0440\u0448\u0438\u0439 \u0440\u0430\u0437 \u0432\u0430\u043c \u0434\u043e\u0432\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0432\u0440\u0443\u0447\u043d\u0443 \u0437\u0430\u043f\u043e\u0432\u043d\u044e\u0432\u0430\u0442\u0438 \u0442\u0456 \u0441\u0430\u043c\u0456 \u0434\u0435\u0442\u0430\u043b\u0456, \u0449\u043e \u043c\u043e\u0436\u043d\u0430 \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u043b\u0435\u0433\u043a\u043e \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0443.<\/p>\n<p>\u0423 \u0432\u0435\u0431-\u043f\u0435\u0440\u0435\u0433\u043b\u044f\u0434\u0430\u0447\u0456 Chrome \u0432\u0438 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0442\u0432\u043e\u0440\u0438\u0442\u0438 <a href=\"https:\/\/helloacm.com\/create-a-shortcutbookmark-in-chrome-to-the-links-shortener-using-javascript\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0443<\/a> \u0434\u043b\u044f \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430 \u043a\u043e\u0434\u0443 <a href=\"https:\/\/helloacm.com\/ppap-in-cpp-and-javascript-for-beginner\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">JavaScript<\/a>, \u044f\u043a\u0438\u0439 \u0434\u043e\u0437\u0432\u043e\u043b\u0438\u0442\u044c \u0432\u0430\u043c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0437\u0430\u043f\u043e\u0432\u043d\u044e\u0432\u0430\u0442\u0438 \u0441\u0432\u043e\u0457 \u0434\u0430\u043d\u0456 \u0443 \u0444\u043e\u0440\u043c\u0456 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u0456\u0432 \u0434\u043b\u044f \u0440\u0456\u0437\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0431\u043b\u043e\u0433\u0456\u0432: <a href=\"https:\/\/helloacm.com\/how-to-hide-feature-image-of-posts-in-wordpress\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">WordPress<\/a>, Z-Blog, Typecho \u0442\u0430 Emblog.<\/p>\n<p>bookmark-javascript-auto-complete<\/p>\n<p>\u0417\u0432\u0435\u0440\u043d\u0456\u0442\u044c \u0443\u0432\u0430\u0433\u0443 \u043d\u0430 \u0437\u043c\u0456\u043d\u0443 \u0432\u0430\u0448\u0438\u0445 \u0434\u0430\u043d\u0438\u0445 (\u043c\u0456\u0436s), \u0442\u043e\u0436 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u0440\u0430\u0437\u0443 \u0432\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043d\u0430\u0442\u0438\u0441\u043d\u0443\u0442\u0438 <a href=\"https:\/\/helloacm.com\/add-to-favorite-using-javascript\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0443<\/a>, \u044f\u043a\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0432\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0430\u0448\u0456 \u0434\u0430\u043d\u0456 \u0443 \u0444\u043e\u0440\u043c\u0443 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f \u043d\u0430 \u043f\u043e\u0442\u043e\u0447\u043d\u0456\u0439 \u0441\u0442\u043e\u0440\u0456\u043d\u0446\u0456.<\/p>\n<pre><code>javascript:var myName=\"****YOUR NAME****\",myEmail=\"****YOUR EMAIL****\",myUrl=\"****YOUR WEBSITE****\";function fillForm(r,e,m,t){if(null!=r){var n=document.querySelector(r);if(null==n)return!1}var u=document.querySelector(e);if(null==u)return!1;u.setAttribute(\"value\",myName);var l=document.querySelector(m);if(null!=l){l.setAttribute(\"value\",myUrl);}var o=document.querySelector(t);return null==o?!1:(o.setAttribute(\"value\",myEmail),!0)};[function(){return fillForm(\"#commentform\",\"#author\",\"#url\",\"#email\")},function(){return fillForm(\"#comment_form\",\"#author\",\"#url\",\"#mail\")},function(){return fillForm(\"#frmSumbit\",\"#inpName\",\"#inpHomePage\",\"#inpEmail\")},function(){return fillForm(\"#commentform\",'input[name=\"comname\"]','input[name=\"comurl\"]','input[name=\"commail\"]')}].some(function(r){return r()});<\/code><\/pre>\n<p><div id=\"PostUnique_PostSource\" style=\"padding-top: 50px\">\u0414\u0436\u0435\u0440\u0435\u043b\u043e \u0437\u0430\u043f\u0438\u0441\u0443:  <a target=\"_blank\" rel=\"noopener nofollow\" href=\"\/\/helloacm.com\" class=\"external external_icon\">helloacm.com<\/a><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u042f\u043a \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u043e \u0437\u0430\u043f\u043e\u0432\u043d\u0438\u0442\u0438 \u0444\u043e\u0440\u043c\u0443 \u043a\u043e\u043c\u0435\u043d\u0442\u0430\u0440\u044f \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e Javascript?<\/p>\n","protected":false},"author":1,"featured_media":224548,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wp_rev_ctl_limit":""},"categories":[735,869,839,902,849,725],"tags":[1174],"class_list":["post-233087","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript-10","category-wordpress-10","category-kerivnytstvo-dlia-pochatkivtsiv","category-kod-3","category-pidruchnyky","category-rozrobnyk","tag-affiai-uk"],"_links":{"self":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts\/233087","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/comments?post=233087"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts\/233087\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/media\/224548"}],"wp:attachment":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/media?parent=233087"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/categories?post=233087"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/tags?post=233087"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}