{"id":919,"date":"2007-12-17T18:38:40","date_gmt":"2007-12-17T10:38:40","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/"},"modified":"2025-04-04T00:40:08","modified_gmt":"2025-04-03T16:40:08","slug":"how-to-retrieve-passwords-from-asterisks","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/","title":{"rendered":"How to Retrieve Passwords From Asterisks"},"content":{"rendered":"<p>We use the \"<strong>Remember Me<\/strong>\" feature in most form logins to help the signing in process faster. But taking advantage of that sometimes makes us forget what our real passwords are. If you often stare at the asterisks and wonder what\u2019s your actual password, try this  trick. It uses Javascript alert popup to reveal you the password behind the asterisks.<\/p>\n<p><!--more--><\/p>\n<h2>Retrieving password behind asterisks<\/h2>\n<p>This trick only work on Firefox browser. On any page or login forms with asterisks passwords, copy paste the following Javascript into the url bar and hit enter. Your password should display on a popup window.<\/p>\n<pre>\r\n&lt;input name=\"textfield\" type=\"text\" onfocus=\"this.select()\" value='javascript:(function(){var s,F,j,f,i; s = \"\"; F = document.forms; for(j=0; j&lt;F.length; ++j) { f = F[j]; for (i=0; i&lt;f.length; ++i) { if (f[i].type.toLowerCase() == \"password\") s += f[i].value + \"\\n\"; } } if (s) alert(\"Passwords in forms on this page:\\n\\n\" + s); else alert(\"There are no passwords in forms on this page.\");})();' size=\"40\" \/&gt;\r\n<\/pre>\n<h2>Make a bookmarklet<\/h2>\n<p><img decoding=\"async\" class=\"desc\" src=\"https:\/\/assets.hongkiat.com\/uploads\/bookmarklets.png\" alt=\"bookmarklets\"><\/p>\n<p>if you think you will be using this quite often, try creating a bookmarket out of it. Just drag <strong><a href=\"javascript:(function()%7Bvar%20s,F,j,f,i;%20s%20=%20%22%22;%20F%20=%20document.forms;%20for(j=0;%20j&lt;F.length;%20++j)%20%7B%20f%20=%20F%5Bj%5D;%20for%20(i=0;%20i&lt;f.length;%20++i)%20%7B%20if%20(f%5Bi%5D.type.toLowerCase()%20==%20%22password%22)%20s%20+=%20f%5Bi%5D.value%20+%20%22%5Cn%22;%20%7D%20%7D%20if%20(s)%20alert(%22Passwords%20in%20forms%20on%20this%20page:%5Cn%5Cn%22%20+%20s);%20else%20alert(%22There%20are%20no%20passwords%20in%20forms%20on%20this%20page.%22);%7D)();\">Retrieve Passwd<\/a><\/strong> to your Firefox bookmark toolbar, rename if you want.<\/p>\n<p>The next time you want to retrieve your passwords from asterisks, just click on your bookmarklet.<\/p>","protected":false},"excerpt":{"rendered":"<p>We use the &#8220;Remember Me&#8221; feature in most form logins to help the signing in process faster. But taking advantage of that sometimes makes us forget what our real passwords are. If you often stare at the asterisks and wonder what\u2019s your actual password, try this trick. It uses Javascript alert popup to reveal you&hellip;<\/p>\n","protected":false},"author":140,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3398],"tags":[34,554,4601],"topic":[4521],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.7) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Retrieve Passwords From Asterisks - Hongkiat<\/title>\n<meta name=\"description\" content=\"We use the &quot;Remember Me&quot; feature in most form logins to help the signing in process faster. But taking advantage of that sometimes makes us\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Retrieve Passwords From Asterisks\" \/>\n<meta property=\"og:description\" content=\"We use the &quot;Remember Me&quot; feature in most form logins to help the signing in process faster. But taking advantage of that sometimes makes us\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2007-12-17T10:38:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-03T16:40:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/bookmarklets.png\" \/>\n<meta name=\"author\" content=\"Alfredo K\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alfredo K\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/\"},\"author\":{\"name\":\"Alfredo K\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/b7b5c2018f96391a3d260970e9c202d9\"},\"headline\":\"How to Retrieve Passwords From Asterisks\",\"datePublished\":\"2007-12-17T10:38:40+00:00\",\"dateModified\":\"2025-04-03T16:40:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/\"},\"wordCount\":158,\"commentCount\":11,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/bookmarklets.png\",\"keywords\":[\"Firefox\",\"Passwords\",\"Security and Privacy\"],\"articleSection\":[\"Internet\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/\",\"name\":\"How to Retrieve Passwords From Asterisks - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/bookmarklets.png\",\"datePublished\":\"2007-12-17T10:38:40+00:00\",\"dateModified\":\"2025-04-03T16:40:08+00:00\",\"description\":\"We use the &quot;Remember Me&quot; feature in most form logins to help the signing in process faster. But taking advantage of that sometimes makes us\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/bookmarklets.png\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/bookmarklets.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/how-to-retrieve-passwords-from-asterisks\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Retrieve Passwords From Asterisks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/b7b5c2018f96391a3d260970e9c202d9\",\"name\":\"Alfredo K\",\"description\":\"Alfredo is an editor for Hongkiat.com. He believes in working hard and playing hard and hopes to publish his travel guide for food lovers one day.\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/alfredo_k\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Retrieve Passwords From Asterisks - Hongkiat","description":"We use the &quot;Remember Me&quot; feature in most form logins to help the signing in process faster. But taking advantage of that sometimes makes us","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/","og_locale":"en_US","og_type":"article","og_title":"How to Retrieve Passwords From Asterisks","og_description":"We use the &quot;Remember Me&quot; feature in most form logins to help the signing in process faster. But taking advantage of that sometimes makes us","og_url":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2007-12-17T10:38:40+00:00","article_modified_time":"2025-04-03T16:40:08+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/bookmarklets.png","type":"","width":"","height":""}],"author":"Alfredo K","twitter_card":"summary_large_image","twitter_creator":"@hongkiat","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Alfredo K","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/"},"author":{"name":"Alfredo K","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/b7b5c2018f96391a3d260970e9c202d9"},"headline":"How to Retrieve Passwords From Asterisks","datePublished":"2007-12-17T10:38:40+00:00","dateModified":"2025-04-03T16:40:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/"},"wordCount":158,"commentCount":11,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/bookmarklets.png","keywords":["Firefox","Passwords","Security and Privacy"],"articleSection":["Internet"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/","url":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/","name":"How to Retrieve Passwords From Asterisks - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/bookmarklets.png","datePublished":"2007-12-17T10:38:40+00:00","dateModified":"2025-04-03T16:40:08+00:00","description":"We use the &quot;Remember Me&quot; feature in most form logins to help the signing in process faster. But taking advantage of that sometimes makes us","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/bookmarklets.png","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/bookmarklets.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/how-to-retrieve-passwords-from-asterisks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Retrieve Passwords From Asterisks"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/b7b5c2018f96391a3d260970e9c202d9","name":"Alfredo K","description":"Alfredo is an editor for Hongkiat.com. He believes in working hard and playing hard and hopes to publish his travel guide for food lovers one day.","url":"https:\/\/www.hongkiat.com\/blog\/author\/alfredo_k\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-eP","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/919","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/140"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=919"}],"version-history":[{"count":4,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/919\/revisions"}],"predecessor-version":[{"id":73491,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/919\/revisions\/73491"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=919"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=919"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=919"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=919"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}