Post Reply 
Youtube: expand video details, collapse comments
Oct. 18, 2008, 02:50 PM
Post: #1
Youtube: expand video details, collapse comments
If you prefer to have the video comments collapsed and the video details expanded from the beginning this filter is for you Wink

Code:
[Patterns]
Name = "Youtube: <div> Expand video details, collapse comments {ln}081008"
Active = TRUE
URL = "$TYPE(htm)[^/]++.youtube.com/"
Bounds = "$NEST(<div,>)  $NEST(<div,>)"
Limit = 200
Match = "("
        "((<div class="expand-panel)\1 expanded (small-expand-panel"> *"watch-comment-post-comment"*)\2"
        "$SET(\1=<div class="expand-panel small-expand-panel">))"
        "|"
        "((<div id="watch-video-details" class="expand-panel)\1("> *"watch-video-details-inner"*)\2"
        "$SET(\3= expanded"))"
        ")"
Replace = "\1 \3 \2"
Add Thank You Quote this message in a reply
Oct. 21, 2008, 12:18 PM
Post: #2
RE: Youtube: expand video details, collapse comments
Removed the need of html zone filters $TST(V_Html=1)
Add Thank You Quote this message in a reply
Post Reply 


Forum Jump: