如何在用户在地址栏中键入url时生成cookie [英] how to generate cookies whe user types url in address bar

查看:152
本文介绍了如何在用户在地址栏中键入url时生成cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户在地址栏中键入第一个字母时,应显示以该字母开头的所有Cookie。即通常如何在浏览器中工作。我需要代码。当用户在地址栏中键入时如何调用事件?

when user types first letter in address bar,all the cookies starting with the letter should get displayed. i.e. Normally how it works in browser. i need code for that. How to call the event when user types in address bar?

推荐答案

地址栏仅在浏览器本身可用时才可用。这意味着你必须为chrome编写一个插件,为firefox编写一个单独的插件,为IE编写一个单独的插件。
The address bar is only available, if at all, through the browser itself. Meaning you would have to write a plugin for chrome, a separate one for firefox, and a separate one for IE.


这篇关于如何在用户在地址栏中键入url时生成cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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