How to use Iframe as code

Don't hesitate to post if you have an improvement idea
Post Reply
augesrob
Posts: 6
Joined: 16 May 2020, 12:21

How to use Iframe as code

Post by augesrob »

Is there away to enable iframes inside of the code?

<iframe class="game-iframe game-iframe--ts" src="//portal.pixelfederation.com/_tsm/?ref=wp_dbg_portal_fp+mat+scaled&referrer=sm_ts_20200429_bittennails&direct_login=portal&portal_request=eyJwaXhlbF9pZCI6NzUzNzY0MiwidXNlcm5hbWUiOiJhdWdlc3JvYiIsInBsYXllcl9uYW1lIjoiUm9iZXJ0IEF1Z2VzZW4iLCJmaXJzdF9uYW1lIjoiUm9iZXJ0IiwibGFzdF9uYW1lIjoiQXVnZXNlbiIsInNlc3Npb25fdHlwZSI6ImZhY2Vib29rIiwicG9ydGFsX3Rva2VuIjoiTm1ZM05qaGxNR015TkdRd1lXWXpNREprWTJaaU9USTFNRFEyWVdKak5UQTFNakE0TUdRNE5ERm1NemsyTldOall6VTBPREF3TkRFellUSmxNbVUzWlEiLCJlbWFpbCI6ImF1Z2Vzcm9iQGxpdmUuY29tIiwiZmFjZWJvb2tfaWQiOiI0NjMwMDY5MjM4MjQ0OTgiLCJidXNpbmVzc190b2tlbiI6IkFieUhyZUxmVlRsOG1FWnciLCJhY2Nlc3NfdG9rZW4iOiJFQUFHcm9BdTI5eWtCQUFObU9HT1hvUFRaQ1FTMDVMMm1LWThsVG9jNGtoVksxMEVaQ2FQOVFSd0lrQmpyZEhaQ21Uc3RSMnBybmxCTmtUMzR5SW1rZDhYT0tRM3hTdDBNN0QyQUtnVnI5eEN5Q3M0cUdRelpCT1g1SjFNMGtFQnNncnNlWkJSb2pQZzM4RzZ2NVZhVFdteWphMXJhQjdyNDA4dk1wTVpDYml2amVMeFd2czZsQnQzYTN2ckJ0TWtDRGZNWkNHRUxZMEtrV0U4WVpBWDRtMWRkaFczdjJyTWV2MmNaRCIsInNpZyI6IjY3ZWI4NDI1MWYwMTk1MjcxNDE2MjQzYTAyNmYyNzNjYzQ0OTBhNWEifQ%3D%3D&ls_token=VU12VEJZdFdlWWZNNFVzSjV4WmcyNDF6VlRuMVlEZlUzZGhSUGZQa3ErRVFvK1cwblF2cTMxMHA3bENiU1prUzlKK1JOa2hPVUZkSDYyNTI1NFc5N0RxQ3dPdkx1ZXNubk1yWFZocEpqalVXcUxYbU41MkI2NFFON3FTZk5aVVgyaTNuUGtXR3RGVWRHVjFPVDVDSURleHZGbHcraXRJUDBMc2dIMlJJeml5a2hHSUtMQis5TnBuRVkwVG05MW5YYXVXMjExeUdJUFNpbHkvNFUzK3NTZzNnbjd2cHZ6aWpIT0c5TngxU1VqcmsyTUlkSWhZeGZSR3NJYThPbU85NFdqT1NTb3p2eUlkQ0loNmpHcXRtZGhWNA%3D%3D" width="60%" height="1200"> allowfullscreen></iframe>

Working on a bot that works within itself instead of a browser.
minx
Posts: 11
Joined: 24 Jan 2021, 20:51

Re: How to use Iframe as code

Post by minx »

Not sure if this is what you are looking for, but you can open QWebView:

Code: Select all

var view = new QWebView();
view.url = 'some url'
view.show();
Not sure where to find documentation for the object, but you can dump properties by for example:

Code: Select all

for (p in view)
    Stdio.println('[' + p + '] ' + view[p]);
Post Reply