PluralsightDownload Bookmarklet

Run this while viewing video course in Pluralsight

Source (app.pluralsight.com)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3A%28function%28%29%7Bvar%20module%20%3D%20document.getElementsByClassName%28%22selected%20watched%22%29%5B0%5D.parentElement.parentElement%3Bvar%20moduleName%20%3D%20module.getElementsByTagName%28%22h2%22%29%5B0%5D.innerText%3Bvar%20clip%20%3D%20document.getElementsByClassName%28%22selected%20watched%22%29%5B0%5D%3Bvar%20clipName%20%3D%20clip.getElementsByTagName%28%22h3%22%29%5B0%5D.innerText%3Bvar%20clipIndex%20%3D%20001%3Bwhile%28%20%28clip%20%3D%20clip.previousSibling%29%20%21%3D%20null%20%29%20clipIndex++%3Bvar%20moduleIndex%20%3D%20101%3Bwhile%28%20%28module%20%3D%20module.previousSibling%29%20%21%3D%20null%20%29%20moduleIndex++%3B%20var%20clipFullName%20%3D%20document.title%20+%20%22/%22%20+%20moduleIndex%20+%20%22_%22%20+%20moduleName%20+%20%22/%22%20+%20clipIndex%20+%20%22_%22%20+%20clipName%3Bvar%20linkName%20%3D%20document.createElement%28%27a%27%29%3Bvar%20linkFile%20%3D%20document.createElement%28%27a%27%29%3Bvar%20videolink%20%3D%20document.getElementsByTagName%28%27video%27%29%5B0%5D.src%20%3Bvar%20videoName%20%3D%20videolink.split%28%22/%22%29.pop%28%29.split%28%27%23%27%29%5B0%5D.split%28%27%3F%27%29%5B0%5D.split%28%27.%27%29%5B0%5D%3BlinkFile.href%20%3D%20videolink%20%3BlinkName.download%20%3D%20videoName%20+%22.txt%22%3BlinkName.href%20%3D%20%27data%3A%2C%27%20+%20clipFullName.replace%28/%20/g%2C%22_%22%29%3BlinkFile.download%20%3D%20videoName%20%3BlinkName.click%28%29%3BlinkFile.click%28%29%3B%7D%29%28%29%3B


Rate it:


Tags:

Comments

Comments so far. Add yours.