Instagram and Facebook Are Stalking You on Websites Accessed Through Their Apps. What Can You Do About It?

Facebook, Instagram parent Meta has a custom in-app browser that operates on any website you might click through to from both these apps.

Advertisement
By The Conversation | Updated: 16 August 2022 15:09 IST
Highlights
  • Meta has said it isn't doing anything users didn't consent to
  • Code injection enables user tracking
  • The “code” mentioned in the case is pcm.js

Meta has a custom in-app browser that operates on Facebook, Instagram,

Social media platforms have had some bad press in recent times, largely prompted by the vast extent of their data collection. Now Meta, the parent company of Facebook and Instagram, has upped the ante.

Not content with following every move you make on its apps, Meta has reportedly devised a way to also know everything you do in external websites accessed through its apps. Why is it going to such lengths? And is there a way to avoid this surveillance? ‘Injecting' code to follow you Meta has a custom in-app browser that operates on Facebook, Instagram, and any website you might click through to from both these apps.

Now ex-Google engineer and privacy researcher Felix Krause has discovered this proprietary browser has additional program code inserted into it. Krause developed a tool that found Instagram and Facebook added up to 18 lines of code to websites visited through Meta's in-app browsers.

Advertisement

This “code injection” enables user tracking and overrides tracking restrictions that browsers such as Chrome and Safari have in place. It allows Meta to collect sensitive user information, including “every button and link tapped, text selections, screenshots, as well as any form inputs, like passwords, addresses and credit card numbers”.

Advertisement

Krause published his findings online on August 10, including samples of the actual code.

In response, Meta has said it isn't doing anything users didn't consent to. A Meta spokesperson said: We intentionally developed this code to honour people's [Ask to track] choices on our platforms […] The code allows us to aggregate user data before using it for targeted advertising or measurement purposes.

Advertisement

The “code” mentioned in the case is pcm.js – a script that acts to aggregate a user's browsing activities. Meta says the script is inserted based on whether users have given consent – and information gained is used only for advertising purposes.

So is it acting ethically? Well, the company has done due diligence by informing users of its intention to collect an expanded range of data. However, it stopped short of making clear what the full implications of doing so would be.

Advertisement

People might give their consent to tracking in a more general sense, but “informed” consent implies full knowledge of the possible consequences. And, in this case, users were not explicitly made aware their activities on other sites could be followed through a code injection.

Why is Meta doing this? Data are the central commodity of Meta's business model. There is astronomical value in the amount of data Meta can collect by injecting a tracking code into third-party websites opened through the Instagram and Facebook apps.

At the same time, Meta's business model is being threatened – and events from the recent past can help shed light on why it's doing this in the first place.

It boils down to the fact that Apple (which owns the Safari browser), Google (which owns Chrome) and the Firefox browser are all actively placing restrictions on Meta's ability to collect data.

Last year, Apple's iOS 14.5 update came alongside a requirement that all apps hosted on the Apple app store must get users' explicit permission to track and collect their data across apps owned by other companies.

Meta has publicly said this single iPhone alert is costing its Facebook business $10 billion (roughly Rs. 79,400 crore) each year.

Apple's Safari browser also applies a default setting to block all third-party “cookies”. These are little chunks of tracking code that websites deposit on your computer and which tell the website's owner about your visit to the site.

Google will also soon be phasing out third-party cookies. Firefox recently announced “total cookie protection” to prevent so-called cross-page tracking.

In other words, Meta is being flanked by browsers introducing restrictions on extensive user data tracking. Its response was to create its own browser that circumvents these restrictions.

How can I protect myself? On the bright side, users concerned about privacy do have some options.

The easiest way to stop Meta tracking your external activities through its in-app browser is to simply not use it; make sure you're opening web pages in a trusted browser of choice such as Safari, Chrome or Firefox (via the screen shown below).

If you can't find this screen option, you can manually copy and paste the web address into a trusted browser.

Another option is to access the social media platforms via a browser. So instead of using the Instagram or Facebook app, visit the sites by entering their URL into your trusted browser's search bar. This should also solve the tracking problem.

I'm not suggesting you ditch Facebook or Instagram altogether. But we should all be aware of how our online movements and usage patterns may be carefully recorded and used in ways we're not told about. Remember: on the Internet, if the service is free, you're probably the product. 


What should you make of Realme's three new offerings? We discuss them on Orbital, the Gadgets 360 podcast. Orbital is available on Spotify, Gaana, JioSaavn, Google Podcasts, Apple Podcasts, Amazon Music and wherever you get your podcasts.
Affiliate links may be automatically generated - see our ethics statement for details.
 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Further reading: Facebook, Instagram
Advertisement

Related Stories

Popular Mobile Brands
  1. OnePlus 15R Storage Options Leaked: Here's How Much It Might Cost in India
  2. Pixel 10 Series Gets Price Cuts During Google's End of Year Sale: See Offers
  3. Mrs Deshpande OTT Release Date: Madhuri Dixit's Starrere to Premiere on This Date
  4. Vivo S50, S50 Pro Mini With Snapdragon Chips Launched at These Prices
  5. Logitech MX Master 4 Launches in India With These Features
  6. MacBook Air (2025) With M4 Chip Available at This Discounted Price
  7. Apple Fitness+ Service Is Now Available in India: See Features
  8. Redmi Note 15 5G Chipset Revealed Ahead of January 6 India Launch
  9. Motorola Edge 70 With 5,000mAh Battery Launched in India at This Price
  10. Oppo Reno 15c With Snapdragon 7 Gen 4 SoC Launched at This Price
  1. Redmi Note 15 5G Chipset Confirmed Ahead of January 6 Launch in India: Expected Features, Specifications
  2. Lenovo Idea Tab Plus Launched in India With 12.1-Inch Display, 10,200mAh Battery: Price, Specifications
  3. The End of 16GB RAM Phones? AI Boom Forces Smartphone Makers to Bring Back 4GB Models
  4. Xiaomi 17 Ultra Tipped to Launch Alongside Redmi Turbo 5 Series, New Wearables
  5. Mrs Deshpande OTT Release Date: Madhuri Dixit’s Psychological Thriller Premieres on This Date
  6. Knives Out Now Streaming on Lionsgate Play: What You Need to Know
  7. The Copenhagen Test OTT Release Date: When and Where to Watch it Online?
  8. Tell Me Softly Out on OTT: Everything You Need to Know About This Spanish Teen Romance Film
  9. Vivo S50 Pro Mini Launched With Snapdragon 8 Gen 5 SoC, Vivo S50 Tags Along: Price, Specifications
  10. Clair Obscur: Expedition 33 Gets New 'Thank You' Update After Winning at The Game Awards
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.