julesgraus/favicontracker
Composer 安装命令:
composer require julesgraus/favicontracker
包简介
Enables tracking of users via a favicon tricks. Even when they are incognito. For educational purposes only.
README 文档
README
Enables tracking of users via a favicon tricks in your Laravel project. Even when they are incognito. For educational purposes only.
Installation
- run
composer require julesgraus/favicontrackerin the root of your laravel 6+ project. - Publish the config file using
php artisan vendor:publish --tag=fitin the root of your laravel project.
Usage
When you've installed the package you will have some extra routes. The /fit route can be used to test the package. It will display a page on which you can start the read and write processes. You can also head to /fit/read and /fit/write yourself to programmatically start these processes. In the Verified tracking procedures section you will see what you need to do to track users. At the moment it does not seem to be possible to start a read action first, and then reliable write a tracking id into the favicons cache without closing the browser. Also a delay must be used to iterate over the tracking routes as it takes some time for the browser to start requesting a favicon.
Verified tracking procedures
These procedures where followed in order to manually verify the tracking technique per browser:
Chrome Mac v89.0.4389.90
- Browser was opened.
- Read procedure was started. Resulted in tracking id of 0.
- Browser was closed completely and started.
- Write procedure was started. Resulted in storing a plus zero id.
- Browser was closed completely and started.
- Read procedure was started. Resulted in retrieving the plus zero id.
Safari Mac v4.0.3 (16610.4.3.1.7)
- Browser was opened
- Read procedure was started. Resulted in tracking id of 0.
- Write procedure was started. Resulted in storing a plus zero id.
- Read procedure was started. Resulted in retrieving the plus zero id.
- Browser was closed completely and started.
- Read procedure was started. Resulted in retrieving the plus zero id.
- Write procedure was started. Resulted in storing a plus zero id.
Firefox Mac (87.0)
- No tracking procedure seems to work.
Edge Mac (89.0.774.63)
- Browser was opened.
- Read procedure was started. Resulted in tracking id of 0.
- Browser was closed completely and started.
- Write procedure was started. Resulted in storing a plus zero id.
- Browser was closed completely and started.
- Read procedure was started. Resulted in retrieving the plus zero id.
Verified tracking procedures:
These procedures where followed in order to manually verify the tracking technique per browser:
Chrome Mac v89.0.4389.90
- Browser was opened.
- Read procedure was started. Resulted in tracking id of 0.
- Browser was closed completely and started.
- Write procedure was started. Resulted in storing a plus zero id.
- Browser was closed completely and started.
- Read procedure was started. Resulted in retrieving the plus zero id.
Safari Mac v4.0.3 (16610.4.3.1.7)
- Browser was opened
- Read procedure was started. Resulted in tracking id of 0.
- Write procedure was started. Resulted in storing a plus zero id.
- Read procedure was started. Resulted in retrieving the plus zero id.
- Browser was closed completely and started.
- Read procedure was started. Resulted in retrieving the plus zero id.
- Write procedure was started. Resulted in storing a plus zero id.
Firefox Mac (87.0)
- No tracking procedure seems to work.
Edge Mac (89.0.774.63)
- Browser was opened.
- Read procedure was started. Resulted in tracking id of 0.
- Browser was closed completely and started.
- Write procedure was started. Resulted in storing a plus zero id.
- Browser was closed completely and started.
- Read procedure was started. Resulted in retrieving the plus zero id.
How to clear the favicon cache
Make sure you close your browser completely first.
Chrome Mac:
Delete ~/Library/Application Support/Google/Chrome/Default/Favicons
and ~/Library/Application Support/Google/Chrome/Default/Favicons-journal.
Chrome Windows
Delete C:\Users\<your username>\AppData\Local\Google\Chrome\User Data\Default.
Safari Mac:
Delete everything in ~/Library/Safari/Favicon Cache/
Does not always seem to work immediately (Safari 4.0.3)
Microsoft Edge Mac
Delete ~/Library/Application Support/Microsoft Edge/Default/Favicons
and ~/Library/Application Support/Microsoft Edge/Default/Favicons-journal.
julesgraus/favicontracker 适用场景与选型建议
julesgraus/favicontracker 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 8 次下载、GitHub Stars 达 2, 最近一次更新时间为 2021 年 03 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 julesgraus/favicontracker 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 julesgraus/favicontracker 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-18