Paprika doesn't have their API documented, so this is me reverse-engineering it from an Android device
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// last element in array | |
var lastGesturePointInArray = action.GesturePoints.Length - 1; | |
// pixels travelled | |
var distanceTravelled = action.GesturePoints[lastGesturePointInArray].X - action.GesturePoints[0].X; | |
// Edit if need be: | |
var horizScrollDist = 1.5; | |
// turn to absolute num |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Youtube Playlist Cleanser | |
// @version 2.1.0 | |
// @description Removes watched videos from playlist either by %watched or all | |
// @author js6pak | |
// @include http*://*.youtube.com/* | |
// @include http*://youtube.com/* | |
// @run-at document-idle | |
// @homepageURL https://gist.github.com/js6pak/33bdefdefac09c387f55d08c5b9526fa | |
// @downloadURL https://gist.github.com/js6pak/33bdefdefac09c387f55d08c5b9526fa/raw/youtube-playlist-cleanser.user.js |