Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var jqry = document.createElement('script');
- jqry.src = "https://code.jquery.com/jquery-3.3.1.min.js";
- document.getElementsByTagName('head')[0].appendChild(jqry);
- setTimeout(function() {
- jQuery.noConflict();
- $ = jQuery
- alert('applied color');
- setInterval(function() {
- $('body *').each(function() {
- if ($(this).css('font-size') == '16px' && $(this).clone() //clone the element
- .children() //select all the children
- .remove() //remove all the children
- .end() //again go back to selected element
- .text() != '') {
- $(this).css('background', 'pink')
- }
- })
- }, 2000)
- }, 2000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement