网络插件-如何从用户浏览器获取URL. [英] Network Plug-In - How to get URL from the user browser.

查看:259
本文介绍了网络插件-如何从用户浏览器获取URL.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建一个插件来控制时间
允许用户在某些特定的网站上浏览.
例如:
我希望用户每天上网2小时后,每天不能超过2小时上网,因此该网站将被封锁

我如何找出用户在哪个网站上浏览?

非常感谢你!!!!!! :-)

I want to create a plug in that will control the amount of time
that the user will be allowed to surf in some specific website.
for example:
I want that the user will not be able to surf Facebook more than 2 hours per day after 2 hours of surf the website will be blocked

How can i find out on which site the user surf???

Thank You Very Much!!!!!! :-)

推荐答案

写一个代理服务器,用户必须使用该代理服务器上网.这样,您将始终获得最后一个页面以及何时被调用的信息.但是请注意,当用户停止使用浏览器时,不会向代理发送额外的请求.
Write a proxy server the user must use to surf the web. Thus you will always have the information which page was called last, and when. But note that when the user stops using the browser, no extra request is sent to the proxy.


这篇关于网络插件-如何从用户浏览器获取URL.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆