Filter for hidden, zero-size, display:none elements

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
Hey guys, I've added this request to IdeaCollector, but I'm really interested in your opinion about that.
There are sites where use of hidden, zero-size elements is kind of anti-bot protection.
To not make unsubstantiated statements, I'm attaching a screenshot.

attach1.jpg

You can see here that there are some hidden elements on the page. Yes, not all of them (may be even none) to detect that it is a bot, but there are cases when site protection does that for sure.
It can be 2 or 3 input:file but only one of them is to set value, while others is to cofuse a bot. And when you set value, click the wrong (hidden element) it detects you as a bot, since human being coudn't do that.
So my suggestion is to have an option-filter for such kind of sites, and when you apply this option it doesn't searches element that are hidden, display:none or with zero width/height.
 

Kepperbes

Client
Регистрация
19.12.2011
Сообщения
243
Благодарностей
81
Баллы
28
Well I think adding this would be an obvious good idea.
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
That's what I'm talking about. Two elements with the same class name, but one of them has 0 size

1.jpg2.jpg
 

nitin2003

Client
Регистрация
18.09.2012
Сообщения
195
Благодарностей
11
Баллы
18
Yes, I also have seen this. This would a good idea to combat such a situation..
 

decibelgr

Client
Регистрация
27.09.2011
Сообщения
58
Благодарностей
3
Баллы
8
+ one from me! Really great idea!
 

nevadahsot

Client
Регистрация
27.04.2012
Сообщения
106
Благодарностей
5
Баллы
18
Exclude input which contains "hidden" is quite easy.
http://zennolab.com/discussion/register.php
There are 39 inputs on it.
including 19 hidden ones.

If want exclude mutiple, will look like:
(For example,http://indimusic.tv/join.php)
^(?!.*hidden|.*pass|.*nick|.*city|.*zip|.*mail|.*date|.*tag|.*term|.*submit|.*captcha|.*profile|.*first|.*last).*$ OR
^(?!.*hidden|.*pass|.*nick|.*city|.*zip|.*mail|.*date|.*tag|.*term|.*submit|.*captcha|.*profile|.*first|.*last). OR
^(?!.*hidden|.*pass|.*nick|.*city|.*zip|.*mail|.*date|.*tag|.*term|.*submit|.*captcha|.*profile|.*first|.*last)
(if .*name, will get no result, most input has name=")
-----this will locate unknow field(s).
Maybe the result is a input, which:
It's field text is: *Artist/Brand Name
and the field name: name="[headline]....



(?!.*somethingA|.*sthB..... ------loop this enough times, will
fill all the unknow fields. (just fill some random
stuff and in many cases, the registration will success)

In a word, it's still a regex problem.
 

Вложения

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
I do know work around in code and yeah that's pretty simple, but I have been coding on zenno for a few years and I do think it is pretty usefull for guys who are new with that.
 
  • Спасибо
Реакции: sergeda и nevadahsot

qlwik

Client
Регистрация
03.04.2013
Сообщения
207
Благодарностей
5
Баллы
18
it is possible to ignore input with display: none in css?
 

qlwik

Client
Регистрация
03.04.2013
Сообщения
207
Благодарностей
5
Баллы
18
nvm solved
 

Drew

Client
Регистрация
29.07.2012
Сообщения
70
Благодарностей
14
Баллы
8
was this ever implemented.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 715
Баллы
113

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)