Zpprofile properties

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
I would like to get more information about listed properties:

Код:
<ScreenHeigth>50505;</ScreenHeigth>
<ScreenWidth>50505;</ScreenWidth>
<AvailScreenHeigth>50505;</AvailScreenHeigth>
<AvailScreenWidth>50505;</AvailScreenWidth>
<WindowsScreenX>1600;</WindowsScreenX>
<WindowsScreenY>900;</WindowsScreenY>
<WindowsOuterHeight>994;</WindowsOuterHeight>
<WindowsOuterWidth>1280;</WindowsOuterWidth>
<WindowsInnerHeight>796;</WindowsInnerHeight>
<WindowsInnerWidth>1600;</WindowsInnerWidth>
When we need to take care of those properties ? Can any webpage check that ?

As i see default numbers for:

Код:
<ScreenHeigth>50505;</ScreenHeigth>
<ScreenWidth>50505;</ScreenWidth>
<AvailScreenHeigth>50505;</AvailScreenHeigth>
<AvailScreenWidth>50505;</AvailScreenWidth>
But default screen resolution is not 50505x50505

Then when we load profile file are we getting different screen resolution every time as in profile file there is those weird numbers ?

Cheers
 

lokiys

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

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 285
Благодарностей
2 730
Баллы
113
50505 - is the magic number to use your system value.

To spoof screen width and size you should change ScreenSizeWidth & ScreenSizeHeight (the project is attached)
upload_2014-10-6_17-30-5.png


If you are spoofing screen size it is strongly recommended to set the correct window size with the help of the C# macro
for example
C#:
instance.SetWindowSize(1200, 800);
 

Вложения

lokiys

Moderator
Регистрация
01.02.2012
Сообщения
4 812
Благодарностей
1 187
Баллы
113
@darkdiver
I know how to set everything but I'm not sure what exactly is this WindowSize

Lets see like that: I want that site think I'm coming with HD resolution. then what I have to set ?

This is totally clear:
project.Profile.ScreenSizeWidth = 1920;
project.Profile.ScreenSizeHeight = 1080;

Next is AvailScreen properties:

project.Profile.AvailScreenWidth = 1920;
project.Profile.AvailScreenHeight = 1050; <=== this is by 30p smaller than height in my case because of taskbar


So you can even change it as you like for more randomization, like show to site that your taskbar is at right on your screen and subtract 30 ( depends on taskbar size ) from right or left size...

And now coming things what i really do not know how to set properly and that it looks naturally. Please explain what values and why I have to set that it looks like I'm coming from HD screen.

project.Profile.OuterHeight = ?;
project.Profile.OuterHeightShift = ?;

project.Profile.OuterWidth = ?;
project.Profile.OuterWidthShift = ?;

project.Profile.ScreenSizeHeight = ?;
project.Profile.ScreenSizeWidth = ?;

instance.ScreenResolution = ?;
instance.SetWindowSize = ?;

For one screen resolution that much properties huh...

Thanks
 

darkdiver

Administrator
Команда форума
Регистрация
13.01.2009
Сообщения
2 285
Благодарностей
2 730
Баллы
113
instance.ScreenResolution - just readonly property to return spoofed screen resolution.
instance.SetWindowSize - allow you to instance window works in ZennoPoster only.
upload_2014-10-7_12-6-50.png



project.Profile.ScreenSizeHeight & project.Profile.ScreenSizeWidth allow to spoof screen size (http://www.w3schools.com/jsref/obj_screen.asp)


project.Profile.OuterHeight(Shift) & project.Profile.OuterWidth(Shift) - outdated methods.
 

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