Changeset 27578
- Timestamp:
- 12/30/08 01:23:43 (4 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/vimperator-plugins/trunk/scenario-actor.js
r27573 r27578 5 5 <description>browser act scenario semi-automatic.</description> 6 6 <author mail="konbu.komuro@gmail.com" homepage="http://d.hatena.ne.jp/hogelog/">hogelog</author> 7 <version>0.0. 4</version>7 <version>0.0.5</version> 8 8 <minVersion>2.0a2</minVersion> 9 9 <updateURL>http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk/scenario-actor.js</updateURL> … … 34 34 {sleep: 5000}, 35 35 {follow: '//a[@rel="prev"]'}, 36 ]} 37 }, 38 { // recent vector site is confusing 39 pattern: 'http://www.vector.co.jp/soft/', 40 action: {or: [ 41 {follow: ['//a[not(contains(@href,"http")) and contains(@href,"/soft/dl/")]', liberator.NEW_TAB]}, 42 {follow: '//a[not(contains(@href,"http")) and contains(@href,"/download/file/")]'}, 36 43 ]} 37 44 }, … … 193 200 for(sym in exp) { 194 201 let args = exp[sym]; 195 if(debug ) liberator.log("eval: "+sym+"("+args+")");202 if(debugMode) liberator.log("eval: "+sym+"("+args+")"); 196 203 if(args instanceof Array) { 197 204 return this[sym].apply(this, args);
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)