The Un-Official Proxomitron Forum
Youtube: remove autoplay - Printable Version

+- The Un-Official Proxomitron Forum (https://www.prxbx.com/forums)
+-- Forum: Proxomitron Filters (/forumdisplay.php?fid=38)
+--- Forum: Website Customization (/forumdisplay.php?fid=9)
+--- Thread: Youtube: remove autoplay (/showthread.php?tid=1132)



Youtube: remove autoplay - lnminente - Oct. 18, 2008 07:36 PM

Remove the autoplay pressing Shift key while loading the page in youtube

Code:
[Patterns]
Name = "Youtube: Remove autoplay on "shift" <multi>{ln}081029"
Active = TRUE
Multi = TRUE
URL = "$KEYCHK(^S)$TYPE(htm)[^/]++.youtube.com/"
Bounds = "swfArgs = {*}"
Limit = 1500
Match = "\1, "video_id" \2"
Replace = "\1, "autoplay": "0", "video_id" \2$STOP()"

=====================

Following kill video-ads works well with above filter
Code:
Name = "[02.a] Youtube: <script> Kill video-ads {ln,ku}081008"
Active = TRUE
Multi = TRUE
URL = "$TYPE(htm)[^/]++.youtube.com/"
Bounds = "swfArgs = {*}"
Limit = 1500
Match = "(swfArgs = )"
        "\#"
        "($NEST({,})&&((\#("
        "\"ad_\w*\","
        "))+\#))"
Replace = "\@$STOP()"



RE: Youtube: remove autoplay - lnminente - Oct. 29, 2008 12:54 PM

Updated to work only on pressing Shift key