Changeset 267 for trunk


Ignore:
Timestamp:
07/17/05 04:58:21 (14 years ago)
Author:
gogo
Message:

Fix for ticket:56 - rather than add a plugin, just added the regexp to outward html.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htmlarea.js

    r266 r267  
    41244124  } 
    41254125 
     4126  // ticket:56, the "greesemonkey" plugin for Firefox adds this junk, 
     4127  // so we strip it out.  Original submitter gave a plugin, but that's 
     4128  // a bit much just for this IMHO - james 
     4129  if(HTMLArea.is_gecko) 
     4130  { 
     4131    html = html.replace(/<script[\s]*src[\s]*=[\s]*['"]chrome:\/\/.*?["']>[\s]*<\/script>/ig, ''); 
     4132  } 
     4133 
    41264134  return html; 
    41274135} 
Note: See TracChangeset for help on using the changeset viewer.