douxitao8170 2011-07-03 14:11
浏览 38
已采纳

获取用户访问的链接

Back in the days :) it was possible to find out which links where visited by a user by using the :visited trick.

This worked like a charm, however new browsers (at least the one I've tested it on: Chrome) don't give back the computed style of a link any more.

So I was thinking wouldn't it be possible to create links on a webpage with different colors for visited links, create an image with it using PHP and finally analyzing the image to find out which colors the links have?

If it is possible can you help me in the right direction to do this.

E.g.

How to create the image of an element / entire page

How to analyze the image

  • 写回答

1条回答 默认 最新

  • doupa1883 2011-07-03 14:15
    关注

    Use Javascript to request an image from the homepage of each URL in the background and time the response. It will be almost immediate if the image is cached, which indicates the site has been visited.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 我的数据无法存进链表里
  • ¥15 神经网络预测均方误差很小 但是图像上看着差别太大
  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端