[Sugar-devel] View Source Code [BROWSE]

Sam P. sam at sam.today
Thu May 5 16:57:09 EDT 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

That feature is already kind of there.  Open browse.  Then open view source from the frame (ctrl-shift-v probably).  The current HTML is displayed under "current activity source", the default tab.

Thanks,
Sam

On 5 May 2016 5:20:08 PM AEST, Utkarsh Tiwari <iamutkarshtiwari at gmail.com> wrote:
>Hi,
>    I need to add the facility to view the source code of the current
>open webpage in a new tab. I tried that by fetching the source code
>using webkit and displaying it via javascript query
>'browser.execute_query('JS_Query')' but have been some problems while
>parsing the html code to string.
>
>Could anyone here suggest any other possible way to get about it?
>
>Thanks,
>Utkarsh Tiwari
>_______________________________________________
>Sugar-devel mailing list
>Sugar-devel at lists.sugarlabs.org
>http://lists.sugarlabs.org/listinfo/sugar-devel

- --
Sent from my phone. Please excuse my brevity.
-----BEGIN PGP SIGNATURE-----
Version: APG v1.1.1

iQJOBAEBCgA4BQJXK7OlMRxTYW0gUC4gKE1vYmlsZSBOZXh1cyA0IEN5YW5vZ2Vu
KSA8c2FtQHNhbS50b2RheT4ACgkQvdyMwXnhrYPL+w//X67nooKXUUUwfWwMtG1b
I2+36xz1ffsU6zof27GzuwndDJn7TCXUQ9+ELycQcMQA0498ma21kOQMT7wqcSg+
q21YLE+4P67gRFPURgoRGH24/3uC91IrdH5Tq27A2EEMsNe/Mn7X+a3JnP8IvjLk
2/22hRygbZEYIlHpqAnZnz1LQ6aeLsQiK6CebXUkb/CPAzYMIpn6TYGb3TtLc6bL
K+bHh/MCnJBAmuaxPztIUgLsNlgW9oK0IncVIvw6VBJ2CUo7/XwCl7Dmrqm1bP4Q
0cg+oodNaKeuwG33bC4pEJ7FOPOVkSV78thJc+1Gp5gZPMpiEujPQb9M1NwYxqp/
N+qjaeax94rrjKtHRE5balCOs4LdTooUyvLBAAh6mmeaotB5MicDx/c+0w2IlCMe
EbW5dNxkKjDDOzg/Tyzacer4NaCgNPjCQaaliorh+TGco//23X6jpL/JstE0Ekip
PCXdgqhtI7W2LMHBVr0Ig5TNRYBwmHkT9oOlCA30e8lmqAfrX+HcpXwmnCkSYJso
e747Or7LgJ907xe0Cw7b0tYsvAch9viTWvFPQaOeNco3SjvPvIffUOyZkXDjglNc
7+gYnEd+3/ofy0ebtN6G316QDmHRPc/hfZGbdLwXxT72KVvzyHraWzPe63C2Kxdt
ZeclxHXyk0Ke9arOCuxYZyc=
=kN6k
-----END PGP SIGNATURE-----



More information about the Sugar-devel mailing list