Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Kotaku imagefix
- // @description Fixes image loading on the Kotaku AU front page, if Taboola is blocked
- // @match https://www.kotaku.com.au/
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- $("body").bind("DOMSubtreeModified", function() {
- $('[data-src]').each(function() {
- $(this).attr('src', $(this).attr('data-src'));
- });
- });
- })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement