Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- 'use strict';
- $('.tw-flex-grow-1').on("DOMSubtreeModified",function(){
- $(".link-fragment").each(function(){
- if (($(this).text().indexOf(".jpg") > 0 ) || (($(this).text().indexOf(".png") > 0 )) || (($(this).text().indexOf(".gif") > 0 ))|| (($(this).text().indexOf(".jpeg") > 0 ))){
- $(this).html("<img src='" + $(this).text() + "' width='200px'/>");
- }
- });
- });
Add Comment
Please, Sign In to add comment