Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // #1
- $('#me').blue();
- // #2
- $('.wants-to-be-blue').blue();
- // #3
- $( "li" ).contents()
- .filter(function() {
- return this.nodeType === 8;
- }).parent().blue();
- // #4
- $( "div, span, i" ).contents()
- .filter(function() {
- return this.nodeType === 8;
- }).parent().blue();
- // #5
- for(var i=1;i<=9;i++) {
- $('div:contains('+ i +')').blue();
- }
- // #6
- $("div:not('.bomb')").blue();
- // #7
- $('section').on('DOMSubtreeModified', function(){
- $('div').blue();
- });
- // #8
- $('button').trigger('click');
- $('div').blue();
- // #9
- var ida = $('#map').text().split(' ');
- ida.forEach(function(v, k){
- $('#'+v).blue();
- })
- // #10
- $('body').bind('DOMSubtreeModified', function(){
- $("div:not('.bomb')").blue();
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement