{"id":443,"date":"2020-07-08T10:23:14","date_gmt":"2020-07-08T14:23:14","guid":{"rendered":"http:\/\/www.samanthataffner.com\/blog\/?p=443"},"modified":"2020-07-08T10:34:13","modified_gmt":"2020-07-08T14:34:13","slug":"how-to-find-and-replace-inside-a-web-page","status":"publish","type":"post","link":"https:\/\/www.samanthataffner.com\/blog\/how-to-find-and-replace-inside-a-web-page\/","title":{"rendered":"How to Find and Replace Inside a Web Page"},"content":{"rendered":"\n<p>While you are on the web page, press Ctrl+Shift+J on Windows or Cmd+Opt+J on Mac to open the Console window inside Chrome Developer tools. Now enter the following commands to replace all occurrences of the word ABC with XYZ.<\/p>\n\n\n\n<p>document.body.innerHTML = document.body.innerHTML.replace(\/ABC\/g, &#8220;XYZ&#8221;);<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While you are on the web page, press Ctrl+Shift+J on Windows or Cmd+Opt+J on Mac to open the Console window inside Chrome Developer tools. Now &hellip; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-443","post","type-post","status-publish","format-standard","hentry","category-hacks"],"_links":{"self":[{"href":"https:\/\/www.samanthataffner.com\/blog\/wp-json\/wp\/v2\/posts\/443"}],"collection":[{"href":"https:\/\/www.samanthataffner.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.samanthataffner.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.samanthataffner.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.samanthataffner.com\/blog\/wp-json\/wp\/v2\/comments?post=443"}],"version-history":[{"count":0,"href":"https:\/\/www.samanthataffner.com\/blog\/wp-json\/wp\/v2\/posts\/443\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.samanthataffner.com\/blog\/wp-json\/wp\/v2\/media?parent=443"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.samanthataffner.com\/blog\/wp-json\/wp\/v2\/categories?post=443"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.samanthataffner.com\/blog\/wp-json\/wp\/v2\/tags?post=443"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}