{"id":20119,"date":"2018-01-09T13:08:06","date_gmt":"2018-01-09T18:08:06","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=20119"},"modified":"2018-01-09T13:08:06","modified_gmt":"2018-01-09T18:08:06","slug":"using-http-to-avoid-mixed-content-warnings-from-ads","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2018\/01\/09\/using-http-to-avoid-mixed-content-warnings-from-ads\/","title":{"rendered":"Using HTTP to Avoid Mixed Content Warnings From Ads"},"content":{"rendered":"<p><a href=\"https:\/\/myfitnesspal.desk.com\/customer\/portal\/questions\/16091723-secure-site\">MyFitnessPal<\/a> (via <a href=\"https:\/\/twitter.com\/mattbirchler\/status\/950597868339023873\">Matt Birchler<\/a>):<\/p>\n<blockquote cite=\"https:\/\/myfitnesspal.desk.com\/customer\/portal\/questions\/16091723-secure-site\"><p>Although our home page at http:\/\/www.myfitnesspal.com may not indicate the presence of https in your browser&rsquo;s interface, the actual login &ldquo;lightbox&rdquo; or pop-over window on the home page does send your login credentials via https.<\/p>\n<p>Once logged in, however, most data interactions on the site are not sent via https. This is a concession we have made in order to be able to offer our health and fitness tools for free. Our revenue model is mostly comprised of presenting advertising on the site. We work with a number of ad aggregation companies, and these partners serve their ads to us via http. As a result, we cannot serve most pages of the site via https without badly reducing the usability of the site. As but one example, many browsers and internet security programs are prompted to present warnings to users because of &ldquo;mixed content&rdquo; on pages of our site, when some content on a given page is sent via SSL and some is not.<\/p><\/blockquote><p>Is there an advantage to the ad companies in not offering HTTPS?<\/p>","protected":false},"excerpt":{"rendered":"<p>MyFitnessPal (via Matt Birchler): Although our home page at http:\/\/www.myfitnesspal.com may not indicate the presence of https in your browser&rsquo;s interface, the actual login &ldquo;lightbox&rdquo; or pop-over window on the home page does send your login credentials via https. Once logged in, however, most data interactions on the site are not sent via https. This [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[],"tags":[354,1614,355,96],"class_list":["post-20119","post","type-post","status-publish","format-standard","hentry","tag-advertising","tag-myfitnesspal","tag-privacy","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20119","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=20119"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20119\/revisions"}],"predecessor-version":[{"id":20120,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/20119\/revisions\/20120"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=20119"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=20119"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=20119"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}