how to editor a universal script???please help!

makecase

Новичок
Регистрация
23.04.2013
Сообщения
26
Благодарностей
0
Баллы
0
i want to post in some websites, but the table form number of textarea are not the same,
how to editor the set value? and make it universal in all the websites?thanks!
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
You can use -1 as form number to search through all document.
 

makecase

Новичок
Регистрация
23.04.2013
Сообщения
26
Благодарностей
0
Баллы
0

makecase

Новичок
Регистрация
23.04.2013
Сообщения
26
Благодарностей
0
Баллы
0
it need to use the logic if or not ???
 

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 771
Благодарностей
1 184
Баллы
113

makecase

Новичок
Регистрация
23.04.2013
Сообщения
26
Благодарностей
0
Баллы
0

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
He just showed you above. Change the document and form values to -1 and it will search all forms and document addresses. You will have to be real particular about the search elements doing this. Don't rely on using input:submit or input:text for the search attributes. You will have to pinpoint something particular to the exact form or submit button. Look at the outerhtml closely.
 

makecase

Новичок
Регистрация
23.04.2013
Сообщения
26
Благодарностей
0
Баллы
0
He just showed you above. Change the document and form values to -1 and it will search all forms and document addresses. You will have to be real particular about the search elements doing this. Don't rely on using input:submit or input:text for the search attributes. You will have to pinpoint something particular to the exact form or submit button. Look at the outerhtml closely.
yes,you are right, but it is hard to pinpoint something particular , such as the loginname form id is "file_2" in one site, but other site the form id "file_2" is passwords form, how can pinpoint something particular except from the form id?
 

nevadahsot

Client
Регистрация
27.04.2012
Сообщения
106
Благодарностей
5
Баллы
18
Editor a universal script, is a little complex.
For example, (другой софт) handling form filling with 6 internal files.

xas.txt
xas_ai.txt
xas_near.txt
x_fields.txt
x_apply.txt
xignoreforms.txt

If fields internal name's value is meaningless or always change dynamically, usually
fill up based on field text. That's xas_near.txt.

Also "universal" script, it's relative, not absolute. Just personal opnion. What I am
doing now, is make a little big "script"; and copy it many times.
If next time, find a good platform, modify one of them.
Jam everything into one script, with Code Creator, maybe it's easy. If just project
make, when situation become too messy; reduce passion of getting a monster scirpt
will make life much easier.
 

bigcajones

Client
Регистрация
09.02.2011
Сообщения
1 216
Благодарностей
683
Баллы
113
yes,you are right, but it is hard to pinpoint something particular , such as the loginname form id is "file_2" in one site, but other site the form id "file_2" is passwords form, how can pinpoint something particular except from the form id?
In that case look at the other attributes for the forms. Maybe something in the outerhtml that distinguishes it. I have actually just filled out all the forms on the page and then that way you just have to make sure you hit the right submit button and not the search or login button. As fast as zenno is, sometimes it is just easier that way.

And if all else fails open the site up and run Firebug on it. Maybe the div class is unique to each form or the input value that you can't see with zenno element properties.
 

nevadahsot

Client
Регистрация
27.04.2012
Сообщения
106
Благодарностей
5
Баллы
18
I believe Form No. is (first, most) important,when making "universal" script.

Find the "biggest" form, will reduce lot headaches, trouble, and chaos.

All actions will take place on it, it's mainland; Other form(s)---if exists,
are small islands nearby.




With zennoposter, such job can be accomplished.
 

nevadahsot

Client
Регистрация
27.04.2012
Сообщения
106
Благодарностей
5
Баллы
18
FormR-L:
^(?!.*newsletter|.*poll)[\w\W]*(<(?!.*search)form[^\r\n>]{1,500}(reg|sign.?up|create|/join|addUser|new.?user|setupform)[^\r\n>]{1,500}>|<(?!.*login)img[^\r\n>]captcha|"radio|(?<=\W)(tos|terms|accept)(?!.*charset)|<select[\w\W]*<select|name=".{0,10}email.{1,10}"[\w\W]*name=".{1,10}email|type=".{0,10}password.{0,10}"[\w\W]*type=".{0,10}password|name=".{0,10}name.{1,10}"[\w\W]*name=".{1,10}name|"checkbox[\w\W]*"checkbox[\w\W]*"checkbox[\w\W]*|(<button|<input)[^\r\n>]*sign.?up[^\r\n>]*>(create)?)
((log|sign).?in[\w\W]*){3}|(?<=\W)persist[\w\W]*checkbox|(?<=\W)forgot
-------
URLx;BUTTONx;form compare----I keep these to myself. :(
 

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