css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="container">
  <h1>Email Spam Trigger Word Finder</h1>
  <textarea name="area" id="area" onkeydown="verify(this.value)" placeholder="Write or paste your email here!"></textarea>
  <div id="errors"></div>
</div>
            
          
!
            
              body {
  font-family: sans-serif;
  font-size: 16px;
}

.container {
  display: block;
  margin: 0 auto;
  width: 600px;
}

h1 {
  text-align: center;
}

#area {
  width: 100%;
  height: 400px;
  font-size: 16px;
}

#errors p {
  color: red;
}
            
          
!
            
              var spamWords = ['as seen on', 'buy', 'buy direct', 'buying judgments', 'clearance', 'order', 'order status', 'orders shipped by', 'shopper', 'dig up dirt on friends', 'meet singles', 'score with babes', 'additional income', 'be your own boss', 'compete for your business', 'double your', 'earn $', 'earn extra cash', 'earn per week', 'expect to earn', 'extra income', 'home based', 'home employment', 'homebased business', 'income from home', 'make $', 'make money', 'money making', 'online biz opportunity', 'online degree', 'opportunity', 'potential earnings', 'university diplomas', 'while you sleep', 'work at home', 'work from home', '$$$', 'affordable', 'bargain', 'beneficiary', 'best price', 'big bucks ', 'cash', 'cash bonus', 'cashcashcash', 'cents on the dollar', 'cheap', 'check', 'claims', 'collect', 'compare rates', 'cost', 'credit', 'credit bureaus ', 'discount', 'earn', 'easy terms ', 'f r e e', 'fast cash', 'for just $', 'hidden assets', 'hidden charges', 'income', 'incredible deal', 'insurance', 'investment', 'loans', 'lowest price', 'million dollars', 'money', 'money back', 'mortgage', 'mortgage rates', 'no cost', 'no fees ', 'one hundred percent free', 'only $', 'pennies a day', 'price', 'profits', 'pure profit', 'quote', 'refinance', 'save $', 'save big money', 'save up to', 'serious cash', 'subject to credit', 'they keep your money -- no refund!', 'unsecured credit', 'unsecured debt', 'us dollars', 'why pay more?', 'accept credit cards', 'cards accepted', 'check or money order', 'credit card offers', 'explode your business', 'full refund', 'investment decision', 'no credit check', 'no hidden costs', 'no investment', 'requires initial investment', 'sent in compliance', 'stock alert', 'stock disclaimer statement', 'stock pick ', 'avoid bankruptcy', 'calling creditors', 'collect child support', 'consolidate debt and credit', 'consolidate your debt', 'eliminate bad credit ', 'eliminate debt', 'financially independent', 'get out of debt', 'get paid', 'lower interest rate', 'lower monthly payment ', 'lower your mortgage rate', 'lowest insurance rates', 'pre-approved', 'refinance home', 'social security number', 'your income', 'acceptance', 'accordingly', 'avoid', 'chance', 'dormant', 'freedom', 'here', 'hidden', 'home', 'leave', 'lifetime', 'lose', 'maintained', 'medium', 'miracle', 'never', 'passwords', 'problem', 'remove', 'reverses', 'sample', 'satisfaction', 'solution', 'stop', 'success', 'teen', 'wife', 'dear email', 'dear friend', 'dear somebody', 'friend', 'hello', 'ad', 'auto email removal', 'bulk email', 'click', 'click below', 'click here', 'click to remove', 'direct email', 'direct marketing', 'email harvest', 'email marketing', 'form', 'increase sales', 'increase traffic', 'increase your sales', 'internet market', 'internet marketing', 'marketing', 'marketing solutions', 'mass email', 'member', 'month trial offer', 'more internet traffic', 'multi level marketing', 'notspam', 'one time mailing', 'online marketing', 'open', 'opt in', 'performance', 'removal instructions', 'sale', 'sales', 'search engine listings', 'search engines', 'subscribe', 'the following form', 'this isn\'t junk', 'this isn\'t spam', 'undisclosed recipient', 'unsubscribe', 'visit our website', 'we hate spam', 'web traffic', 'will not believe your eyes ', 'medical', 'cures baldness', 'diagnostics', 'fast viagra delivery', 'human growth hormone', 'life insurance', 'lose weight', 'lose weight spam', 'medicine', 'no medical exams', 'online pharmacy', 'removes wrinkles', 'reverses aging', 'stop snoring', 'valium', 'viagra', 'vicodin', 'weight loss', 'xanax', '#1', '100% free', '100% satisfied', '4u', '50% off', 'billion', 'billion dollars', 'join millions', 'join millions of americans', 'million', 'one hundred percent guaranteed', 'thousands', 'being a member', 'billing address', 'call', 'cannot be combined with any other offer', 'confidentially on all orders', 'deal', 'financial freedom', 'gift certificate', 'giving away', 'guarantee', 'have you been turned down?', 'if only it were that easy', 'important information regarding', 'in accordance with laws', 'long distance phone offer', 'mail in order form', 'message contains', 'name brand', 'nigerian', 'no age restrictions', 'no catch', 'no claim forms', 'no disappointment', 'no experience', 'no gimmick', 'no inventory', 'no middleman', 'no obligation', 'no purchase necessary', 'no questions asked', 'no selling', 'no strings attached', 'no-obligation', 'not intended', 'obligation', 'off shore', 'offer', 'per day', 'per week', 'priority mail', 'prize', 'prizes', 'produced and sent out', 'reserves the right', 'shopping spree', 'stuff on sale', 'terms and conditions', 'the best rates', 'they’re just giving it away', 'trial', 'unlimited', 'unsolicited', 'vacation', 'vacation offers', 'warranty', 'we honor all', 'weekend getaway', 'what are you waiting for?', 'who really wins?', 'win', 'winner', 'winning', 'won', 'you are a winner!', 'you have been selected', 'you’re a winner!', 'cancel at any time', 'compare', 'copy accurately ', 'get', 'give it away', 'print form signature', 'print out and fax', 'see for yourself', 'sign up free today', 'free', 'free access', 'free cell phone', 'free consultation', 'free dvd', 'free gift', 'free grant money', 'free hosting', 'free installation', 'free instant', 'free investment', 'free leads', 'free membership', 'free money', 'free offer', 'free preview', 'free priority mail', 'free quote', 'free sample', 'free trial', 'free website', 'all natural', 'all new', 'amazing ', 'certified', 'congratulations', 'drastically reduced', 'fantastic deal', 'for free', 'guaranteed', 'it’s effective', 'outstanding values', 'promise you', 'real thing', 'risk free', 'satisfaction guaranteed ', 'access', 'act now!', 'apply now', 'apply online', 'call free', 'call now', 'can\'t live without', 'do it today', 'don\'t delete', 'don\'t hesitate', 'for instant access', 'for only', 'for you', 'get it now', 'get started now', 'great offer', 'info you requested', 'information you requested', 'instant', 'limited time', 'new customers only', 'now', 'now only', 'offer expires ', 'once in lifetime', 'one time', 'only', 'order now', 'order today', 'please read', 'special promotion', 'supplies are limited', 'take action now', 'time limited', 'urgent', 'while supplies last', 'addresses on cd', 'beverage', 'bonus', 'brand new pager', 'cable converter', 'casino', 'celebrity', 'copy dvds', 'laser printer ', 'legal', 'luxury car', 'new domain extensions', 'phone', 'rolex', 'stainless steel' ]

function verify(val) {
  var lower = val.toLowerCase()
  var indices = [];
  spamWords.forEach(function(spam) {
    if(lower.indexOf(spam) !== -1) {
      indices.push([spam, lower.indexOf(spam)]);
    }
  });
  $('#errors').html('')
  indices.forEach(function(index) {
    $('#errors').append('<p>"' + index[0] + '" found at index ' + index[1] + '</p>')
  });
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console