Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8091165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T19:58:54+00:00 2026-06-05T19:58:54+00:00

I was trying to do something like Google’s Adsense. I believe they use javascript?

  • 0

I was trying to do something like Google’s Adsense. I believe they use javascript? But is using iFrame a good idea to have someone put on their site if they want to display ads? Would iFrames able to capture user’s data information such as cookies (how adsense works, they get users cookies–that’s why they can display ads of sites you’ve visited, correct me if I’m wrong)?

If this works, how would I able to get users cookies? Is it possible? How does google get users cookies?

Thanks for your help in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T19:58:56+00:00Added an answer on June 5, 2026 at 7:58 pm

    (how adsense works, they get users cookies–that’s why they can display ads of sites you’ve visited, correct me if I’m wrong)?

    You are wrong. Google can only access Google’s cookies. It’s a big point in cookie security; no browser will allow you to get to other sites’ cookies. Google can use cookies to identify you, but can’t use them to see your behaviour on non-Google sites.

    AdSense knows what you’ve been browsing by checking what links you click on Google Search and other services, what Ads you click on, what pages you visit that have AdSense in them (window.top.document.location) and which pages you visit them from (window.top.document.referrer), and probably more methods that people smarter than me at Google come up with 🙂

    EDIT: as shown in comments, in fact one can’t rely on top properties.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to parse google atom with XmlSlurper. My use case is something like
I'm trying something like this, but this example does not work. jsObj = {};
Is it possible to set for(AssociatedControlID) attribute using jQuery? I am trying something like
I am trying to create a map application, something like google maps, that shows
Would using something like Google Go (that's obviously still under rapid development) be stupid
I am trying to implement something like google instant seach that displays possible searches
I'm trying to implement something like Google suggest on a website I am building
I am trying to create something like the UDK or Maya material editor http://www.google.com/search?q=udk+material+editor&oe=utf-8&rls=org.mozilla:en-US:official&client=firefox-a&um=1&ie=UTF-8&hl=en&tbm=isch&source=og&sa=N&tab=wi&biw=1144&bih=929
I was trying something like below -- <h:commandButton id=btnOK> <f:ajax event=action execute=@this render=idHeader listener=#{myBean.actionSubmit()}/>
I am trying something like this: rpm -ql `rpm -qa | grep openssh-5` This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.