Changeset 24158

Show
Ignore:
Timestamp:
11/18/08 21:35:35 (5 years ago)
Author:
drry
Message:
  • fixed a regex.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/javascript/vimperator-plugins/trunk/fetchyoutube.js

    r24157 r24158  
    3838    function fetch (arg) { 
    3939      let doc = content.document; 
    40       if (!doc.location.href.match(/http:\/\/(?:[^.]+\.)?youtube\.com\/watch/)) 
     40      if (!doc.location.href.match(/^http:\/\/(?:[^.]+\.)?youtube\.com\/watch/)) 
    4141        return; 
    4242      let filepath = arg.string;