home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Help needed develpoing BrowserSiteUtil
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Ministerk" data-source="post: 1170657" data-attributes="member: 61145"><p>I don't think there are any examples of this and how to do this depends on the site.</p><p>Implementing this by injecting javascript listening for a specific event might work, one "simple" way of do this is:</p><p>1) Inject a javascript event listener.</p><p>2) On the event the javascript redirects the browser to another url, about:blank or something</p><p>3) The BrowserDocumentComplete is going to be called when about:blank has loaded</p><p>4) Quit the browser from BrowserDocumentComplete</p><p></p><p></p><p>Edit:</p><p>In some cases the url in the address bar is changed by the site when playback ends. If the page loads then you could use this and start from 3). If it does not load you might poll this from the connector with a timer interval fi you don't want to inject js.</p></blockquote><p></p>
[QUOTE="Ministerk, post: 1170657, member: 61145"] I don't think there are any examples of this and how to do this depends on the site. Implementing this by injecting javascript listening for a specific event might work, one "simple" way of do this is: 1) Inject a javascript event listener. 2) On the event the javascript redirects the browser to another url, about:blank or something 3) The BrowserDocumentComplete is going to be called when about:blank has loaded 4) Quit the browser from BrowserDocumentComplete Edit: In some cases the url in the address bar is changed by the site when playback ends. If the page loads then you could use this and start from 3). If it does not load you might poll this from the connector with a timer interval fi you don't want to inject js. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
OnlineVideos
Help needed develpoing BrowserSiteUtil
Contact us
RSS
Top
Bottom