开发者

Safari: search hidden text

I have couple of block on the page which are hidden. So, when user tries to search text on the page using build-in browser search mechanism safari shows these hidden blocks. I dont want to allow user see these blocks befo开发者_StackOverflowre special event happened. Is there anyone who had the same problem?


Are you hiding it with css: ?

display: none;

I doubt you can force the browser to change it's behaviour but if the div or span or whatever element contains the text, is with "display: none" safari shouldn't find it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜