# javascript unrolling

**URL:** <https://forums.plex.tv/t/javascript-unrolling/3637>\
**Category:** Dev/API Corner\
**Tags:** plugin-dev\
**Created:** [February 22, 2010, 6:59am UTC](https://forums.plex.tv/t/javascript-unrolling/3637 "2010-02-22T06:59:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pierre1313](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/pierre1313/32/523_2.png) [@pierre1313](https://forums.plex.tv/u/pierre1313)\
**Post date:** [February 22, 2010, 6:59am UTC](https://forums.plex.tv/t/javascript-unrolling/3637/1 "2010-02-22T06:59:11Z")

</div>

Hi   
  
  
  
I am trying to write a plug-in for a web site that uses quite a bit of javascript. I was able to go through the code and figure out how to construct the url I need to get the video files but I have to rely on the javascript to generate the proper hashcode and ids to pass as parameters on the video file url  
  
  
  
To the point , I am doing some thing like this :

```auto

html = HTTP.request(url)<br />
Log.(html)

```

  
  
and I am getting:  

```auto

<br />
...<br />
<script><br />
writeFlexPlayer(true,param1,param2);<br />
</script><br />
...<br />

```

  
  
but what I actually want is the result of the script being run.  
  
Is there any simple way to do this ?  
  
Thanks

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 20, 2019, 8:37pm UTC](https://forums.plex.tv/t/javascript-unrolling/3637/2 "2019-12-20T20:37:05Z")

</div>

Closed on December 20, 2019, 8:37pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
