Posted By

dottDesign on 04/29/10


Tagged

javascript textmate listing MRP


Versions (?)

Open Listing in New Window


 / Published in: Other
 

  1. <script>
  2. setTimeout( function() {
  3. var c = document.getElementById( "mrp-listing-showcase-4166" );
  4. if( c ) {
  5. var children = c.getElementsByTagName( "a" );
  6. for( var i=0; i<children.length; ++i ) {
  7. if( children[i].href &&
  8. children[i].href.indexOf( "myrealpage.com"
  9. ) != -1 ) {
  10. // just to make sure
  11. children[i].target = "featuredlisting";
  12. }
  13. }
  14. }
  15. }, 1000 );
  16. </script>

Report this snippet  

You need to login to post a comment.