Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Pastebin Greentext
- // @namespace PastebinGreentext
- // @include http://pastebin.com/*
- // @require http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
- // @version 1
- // @grant none
- // ==/UserScript==
- $(document).ready(function(){
- $(".de1, .de2").each(function()
- {
- var text = $(this).text();
- var regex = /^>/;
- if(regex.test(text))
- {
- $(this).css('color', '#789922');
- }
- });
- });
- >testing here
- >implying this works
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement