PS3 I did it! Offline HTML from the Browser

v0.1a
-Extract Entry info option. By checking this option the extracted .txt files will have their content prefilled with ID_filename. Loading and Saving a file with this option can prove really useful to find out which error is being triggered. @esc0rtd3w sorry for the wait.
 

Attachments

paf_web.sprx:

Code:
window.external['user']=function(s){
           window.external.system('__reserved__.user?'+s);
};

Code:
if(location.href.indexOf('facebook.')>0){
window.external.setForceObjectProperty(navigator.plugins[0],'description','Shockwave Flash 9.0 r159');
}

window.external.setForceObjectProperty can force set the values of a lot of read only properties. Example:

Code:
window.external.setForceObjectProperty(navigator,'userAgent','MY USER AGENT');

window.external.setForceObjectProperty(navigator.MimeTypes[0],'sufffix','.pkg');
Who knows what we can overwrite to make use of this!
 
To enable the sidebar for webbrowser for sidebar add this entry in keyconfig.xml
Code:
<entry>
<action>func_sidebar</action>
<command>select_hold</command>
</entry>

In setting.xml add these values
Code:
<enable_debugmenu_internal>1</enable_debugmenu_internal>
It will show Debug On/Off option in Tools.

Other commands (some have moved in Xregistry and no longer apply)
Code:
<plugin_confirm_status>3</plugin_confirm_status>
<plugin_show>1</plugin_show>
<enable_modulelist>1</enable_modulelist>
<cookieenable>0</cookieenable>
<enable_debugmenu_internal>1</enable_debugmenu_internal>
<debug_mode>1</debug_mode>
<enable_debugmenu>1</enable_debugmenu>
<enable_measureconsole>0</enable_measureconsole>
<trendmicro_debug>1</trendmicro_debug>
<disable_contextmenu>0</disable_contextmenu>
<enable_pending_download_count>1</enable_pending_download_count>
<max_tabs>1</max_tabs>
<motion_type>1</motion_type>  How it moves from tab to tab
<Browser_DBG_level>1</Browser_DBG_level>  Maybe not a real setting, was testing
<ifilter_enable>1</ifilter_enable>
<trendmicro_enable>1</trendmicro_enable>
<enable_google_shortcut>0</enable_google_shortcut>
<debug_core>1</debug_core>
<webcore_heap_size>9999</webcore_heap_size>
<confirmexit>0</confirmexit>
<shader_type>1</shader_type>
<startpage>https://google.com</startpage>
webcore_heap_size - This works and if debug is enabled in Xregistry.sys it will show in the bottom right. Could be useful to those offline exploits which seem to fail so much.
motion_type - tab switching movements
disable_contextmenu - menu when pressing X no longer shows
enable_measureconsole - shows the measure console in the bottom left. Gets enabled, disabled from Debug Menu in Tools>Debug.

No idea what sidebar really is, we are using a trick to show it in browser. Keep SELECT button pressed for it to show.

Still no idea on how to access the other debug options.
 
Last edited:
To enable the sidebar for webbrowser for sidebar add this entry in keyconfig.xml
Code:
<entry>
<action>func_sidebar</action>
<command>select_hold</command>
</entry>

In setting.xml add these values
Code:
<enable_debugmenu_internal>1</enable_debugmenu_internal>
It will show Debug On/Off option in Tools.

Other commands (some have moved in Xregistry and no longer apply)
Code:
<plugin_confirm_status>3</plugin_confirm_status>
<plugin_show>1</plugin_show>
<enable_modulelist>1</enable_modulelist>
<cookieenable>0</cookieenable>
<enable_debugmenu_internal>1</enable_debugmenu_internal>
<debug_mode>1</debug_mode>
<enable_debugmenu>1</enable_debugmenu>
<enable_measureconsole>0</enable_measureconsole>
<trendmicro_debug>1</trendmicro_debug>
<disable_contextmenu>0</disable_contextmenu>
<enable_pending_download_count>1</enable_pending_download_count>
<max_tabs>1</max_tabs>
<motion_type>1</motion_type>  How it moves from tab to tab
<Browser_DBG_level>1</Browser_DBG_level>  Maybe not a real setting, was testing
<ifilter_enable>1</ifilter_enable>
<trendmicro_enable>1</trendmicro_enable>
<enable_google_shortcut>0</enable_google_shortcut>
<debug_core>1</debug_core>
<webcore_heap_size>9999</webcore_heap_size>
<confirmexit>0</confirmexit>
<shader_type>1</shader_type>
<startpage>https://google.com</startpage>
webcore_heap_size - This works and if debug is enabled in Xregistry.sys it will show in the bottom right. Could be useful to those offline exploits which seem to fail so much.
motion_type - tab switching movements
disable_contextmenu - menu when pressing X no longer shows
enable_measureconsole - shows the measure console in the bottom left. Gets enabled, disabled from Debug Menu in Tools>Debug.

No idea what sidebar really is, we are using a trick to show it in browser. Keep SELECT button pressed for it to show.

Still no idea on how to access the other debug options.

I've tried it but only a gray box appears when I hold down SELECT, no debugging options in the side menu (no texts for it in the rco too)

PkH3O6I.png
Hs56Sxs.png



we are also missing /flash0/vsh/resource/silk/debug/autoinput.xml besides the sidebar.xml
 
Last edited:
To enable the sidebar for webbrowser for sidebar add this entry in keyconfig.xml
Code:
In setting.xml add these values
[code]
<enable_debugmenu_internal>1</enable_debugmenu_internal>
It will show Debug On/Off option in Tools.

The command to show the debug menu is
<enable_debugmenu>1</enable_debugmenu> not <enable_debugmenu_internal>1</enable_debugmenu_internal>

Now it works, thanks

Q87fDxb.png
 
Working:

Disable the Debug Menu: <enable_debugmenu>0</enable_debugmenu>
Enable the Debug Menu: <enable_debugmenu>1</enable_debugmenu>
Disable the context menu <disable_contextmenu>1</disable_contextmenu>
Enable the context menu <disable_contextmenu>0</disable_contextmenu>
Changes Heap Size <webcore_heap_size>9999</webcore_heap_size> (It doesn't seem to work, decreasing or increasing from 256 just changes the text in the bottom bar, but the status monitor still shows 256 MB

Shows a List of Modules beeing used <enable_modulelist>1</enable_modulelist>
(Right bottom - Webkit)
ST7y22K.png


(Right bottom - Silk)

aaz8Ee6.png



Measure Console:

White Box : Performance Bar <enable_measureconsole>1</enable_measureconsole>

Black Box: Performace Status <enable_measureconsole>1</enable_measureconsole> requires the Settings > Debug Settings : Internet Browser Debug > [ON] and Browser > Tools > Debug [Enabled]

Note: When debug menu is enabled through <enable_debugmenu>1</enable_debugmenu> the <enable_measureconsole>1</enable_measureconsole> is automatically created.
ESNmw5Y.png



Flat Tabs: <motion_type>0</motion_type>
3D Tabs: <motion_type>1</motion_type>

Left Aligned (No Animation while changing Tabs) <motion_type>2</motion_type>
hITmP0I.png



These must be used together and no other values are accepted:
Execute Browser Plugins (eg. Flash) <plugin_show>1</plugin_show>
Don't Prompt for Plugin Confirmation <plugin_confirm_status>3</plugin_confirm_status>


<trendmicro_enable>1</trendmicro_enable> (US. EU region) force Enable trend micro protection
<trendmicro_enable>0</trendmicro_enable> Disable trend micro
<trendmicro_debug>1</trendmicro_debug> - Trend micro debug
 
Last edited:
Working:

Disable the Debug Menu: <enable_debugmenu>0</enable_debugmenu>
Enable the Debug Menu: <enable_debugmenu>1</enable_debugmenu>
Disable the context menu <disable_contextmenu>1</disable_contextmenu>
Changes Heap Size <webcore_heap_size>9999</webcore_heap_size> (It doesn't seem to work, decreasing or increasing from 256 just changes the text in the bottom bar, but the status monitor still shows 256 MB

Shows a List of Modules beeing used <enable_modulelist>1</enable_modulelist>
(Right bottom - Webkit)
ST7y22K.png


(Right bottom - Silk)

aaz8Ee6.png



Measure Console:

White Box : Performance Bar <enable_measureconsole>1</enable_measureconsole>

Black Box: Performace Status <enable_measureconsole>1</enable_measureconsole> requires the Settings > Debug Settings : Internet Browser Debug > [ON] and Browser > Tools > Debug [Enabled]

Note: When debug menu is enabled through <enable_debugmenu>1</enable_debugmenu> the <enable_measureconsole>1</enable_measureconsole> is automatically created.
ESNmw5Y.png



Flat Tabs: <motion_type>0</motion_type>
3D Tabs: <motion_type>1</motion_type>
Left Aligned (NoAnimation changing Tabs) <motion_type>2</motion_type>
hITmP0I.png



These must be used together and no other values are accepted:
Execute Browser Plugins (eg. Flash) <plugin_show>1</plugin_show>
Don't Prompt for Plugin Confirmation <plugin_confirm_status>3</plugin_confirm_status>


Not working (Moved to xRegistry.sys):

<cookieenable>0</cookieenable>
<trendmicro_enable>1</trendmicro_enable> (US. EU region)
<ifilter_enable>1</ifilter_enable> (KOR? region)
<trendmicro_debug>1</trendmicro_debug>
<startpage>https://google.com</startpage>
<confirmexit>0</confirmexit>
<max_tabs>12</max_tabs> (Hard coded?)
<enable_google_shortcut>0</enable_google_shortcut>


Unknow Usage:

<shader_type>1</shader_type>
<enable_pending_download_count>1</enable_pending_download_count>
<debug_core>1</debug_core>
Is it possible to make Off "Confirm Browser Close" ?
 
Guys i made a XMB menu for that

but I am not satisfied with the names and description of the options, i used the same as the tags names, any suggestions?

zy1qy40.png
F9DS3gs.png

J6MJ2ke.png
KiaoHIU.png
afX4caw.png

I like all the wordings there, except for the "Measure Console". I don't know what it is or what it does by just reading the title.

The rest is perfectly clear and understandable for anyone that happened to got in this nice menu.
 
Is it possible to make Off "Confirm Browser Close" ?

I only added the only options that cannot be enabled/disabled through the web browser itself, it is using a per user setting file with hidden features.

But it can be added by using a command to change the value directly in the xRegistry.sys.
 
I like all the wordings there, except for the "Measure Console". I don't know what it is or what it does by just reading the title.

The rest is perfectly clear and understandable for anyone that happened to got in this nice menu.

Yeap, this post is mainly for this item hahah, i kept the tag name <enable_measureconsole>, i changed it to Performance status, but I don't think it's the best name yet, it shows only a white box with a performance bar, to measure the performance of the page,but if the user has the DEBUG MODE enabled in XMB > [Settings] > [Debug settings] > [Internet Browser Debug] it will show the transparent black box with statistics and RAM usage (I created the Debug Menu item to enable the debug menu and debug mode at once, but for debug mode, user will need to restart the system to take effect).

I think @bguerville knows a name for it.
 
How to change the value directly in the xRegistry.sys using wMM comment?
Thanks

here is what i use for debug menu

<Pair key="module_action"><String>/write.ps3/dev_flash2/etc/xRegistry.sys&t=01&pos=0x10E0C;/copy.ps3//dev_hdd0/game/PS34KPROX/USRDIR/toolbox/patches/web_browser/debug/setting.xml&to=//dev_hdd0/home/$USERID$/webbrowser/setting.xml;/write.ps3/dev_hdd0/home/$USERID$/webbrowser/setting.xml&t=%3Csetting%3E%3Cenable_debugmenu%3E1%3C/enable_debugmenu%3E&line=2</String></Pair>



Just use /write.ps3 command , path &t= new value to the offset &pos= offset position.

/write.ps3/dev_flash2/etc/xRegistry.sys&t=01&pos=0x10E0C

you can find the offset for "Confirm Browser Close" by setting it to ON, ftp your xRegistry.sys and open it with any HEX editor then set it to OFF and compare the new xRegistry.sys with the old one.
 
Last edited:
Yeap, this post is mainly for this item hahah, i kept the tag name <enable_measureconsole>, i changed it to Performance status, but I don't think it's the best name yet, it shows only a white box with a performance bar, to measure the performance of the page,but if the user has the DEBUG MODE enabled in XMB > [Settings] > [Debug settings] > [Internet Browser Debug] it will show the transparent black box with statistics and RAM usage (I created the Debug Menu item to enable the debug menu and debug mode at once, but for debug mode, user will need to restart the system to take effect).

I think @bguerville knows a name for it.

Thanks for the explanation. I agree that Performance maybe isn't the best name, but is aligned with it. I'll probably say it's "Perfomance Statistics" or "Performance Monitor", and there you can sum up everything: page loading times, memory consumption, etc.
 
Great work @LuanTeles you are a machine checking all that settings :encouragement:
In wiki i made some lists of the changelogs of this XML files (for research purposes, finding easter eggs), but there is not any sample of the XML files https://www.psdevwiki.com/ps3/Web_Browser

I guess the page could be improved following an style similar to the widgets page with a section for every XML... and inside that sections the XML samples with some text descriptions and a list with all the settings you explained
I cant get the compromise of doing it because is the kind of thing that would take several days and right now im not much motivated to start that challengue
But i added a link to this forum talk at bottom of the page as a reminder, and for everyone else that lands in that wiki page to come here to read the details



-----------------
Edit:
I like codenames to keep some order when talking about official features, sometimes sucks because are not explicit, but in this case it seems there is no problem because you can display 2 text lines in the icon (the title and subtitle, right ?). In the first test you displayed the codenames as title (at top in bigger font)
What i would do is to swap them...codename at bottom in smaller font, and you could add the enclosing tags like: <name> for code/name freaks :D
 
Last edited:
Just to complete the list

#Debug (only works in silk)
<printout_wait_sec>4</printout_wait_sec> - Seconds before start logging on screen (accepts values between 2 and 10 seconds)

<Browser_DBG_level>0</Browser_DBG_level> - No Logs
<Browser_DBG_level>1</Browser_DBG_level> - Log only Page Errors
<Browser_DBG_level>2</Browser_DBG_level> - Log All Errors
<Browser_DBG_level>3</Browser_DBG_level> - Log All Info

d7y4XK1.png


#Shader Type ( Shader type for Silk only)
<shader_type>1</shader_type> - Scanline
z1Q9L6q.png

<shader_type>0</shader_type> - Pafgu
kqujDti.png



#Address Input Type (No difference in the internet search item)
<enable_google_shortcut>0</enable_google_shortcut> - Default url predict keyboard
lPJxsvs.png

<enable_google_shortcut>1</enable_google_shortcut> - No diff
<enable_google_shortcut>2</enable_google_shortcut> - No diff
<enable_google_shortcut>3</enable_google_shortcut> - Internet search predict keyboard
6Uw7mUh.png


#Qgl background ( Only works via debug webbrowser menu, it writes to the settings.xml but it's ignored)

<qgl_bg_mode>0</qgl_bg_mode> - Wave background
<qgl_bg_mode>1</qgl_bg_mode> - No Wave

rvlyjZa.png


#Webcore Settings
option is grayed out in webkit but works in silk

The values are: 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176, 192, 208, 224, 240, 256

nbLHgr0.png


See, now the heap size shows 16mb, but the left console still shows 256

dozfbNZ.png


#Debug file
log to dev_usb000/webbrowser.txt) - > I don't know how to generate this file, i read it works on 4.21 + debug mode enabled

Still missing:
Local file access option looks for file:///app_home/flash0/vsh/resource/silk/debug/localfileaccess.html
/flash0/vsh/resource/silk/debug/autoinput.xml
/flash0/vsh/resource/silk/debug/sidebar.xml
 
Last edited:
Back
Top