Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (Adult streaming videos) (http://stream-recorder.com/forum/forumdisplay.php?f=40)
-   -  

Some help with chaturbate javascript

(http://stream-recorder.com/forum/showthread.php?t=19828)

Sluthunter 05-28-2015 07:38 AM

Some help with chaturbate javascript


 
Hello
I try make a javascript (but my java skill are too poor for that I think) for browser to get in easy way from html code direct link to playlist.m3u8 (ex.
Code:

http://origin13.stream.highwebmedia.com:1935/live-origin/XXXX-sd-85ecd240cb8028a805ef277c60e1e54f4c3d_aac/playlist.m3u8
) to use it. Script should be clickable as bookmark and showing in window prompt as direct link to playlist.m3u8 when you get in any chaturbate streaming chat. Can someone help me with this cause I really hate when i must do it step by step from html code. This automatic script should be much more helpful

I think script should be looking like this (or not)

Code:

javascript:(function(){window.prompt("Copy this :)" "'something that i dont know")})()

minipc 05-28-2015 06:44 PM

Re: Some help with chaturbate javascript


 
Code:

javascript:(function() { var a,b=/http:\/\/[^']+\/playlist\.m3u8/,c=document.querySelectorAll("script");for(i=0;i<c.length;i++)if(a=b.exec(c[i].innerHTML),null!==a){window.prompt("Copy this :)",a[0]);break}; } )();

Sluthunter 05-28-2015 07:06 PM

Re: Some help with chaturbate javascript


 
Quote:

Originally Posted by minipc (Post 77023)
Code:

javascript:(function() { var a,b=/http:\/\/[^']+\/playlist\.m3u8/,c=document.querySelectorAll("script");for(i=0;i<c.length;i++)if(a=b.exec(c[i].innerHTML),null!==a){window.prompt("Copy this :)",a[0]);break}; } )();

Working great. You are my hero dude thx ;)


All times are GMT -6. The time now is 07:19 AM.