Category Archives: Docker
Home Archive by category "Docker"
document.addEventListener('DOMContentLoaded', function () {
console.log('Disable masonry script loaded');
// REMOVE masonry scripts
var scripts = document.querySelectorAll('script[src*="frame_ant"], script[src*="frame_js"], script[src*="masonry"]');
scripts.forEach(function (s) {
s.remove();
});
// DISABLE masonry init functions if they run later
window.frame_masonry = function () {};
window.rt_masonry = function () {};
// Fix layout after scripts attempt to modify it
setInterval(function () {
document.querySelectorAll('.rt-masonry .rt-grid div').forEach(function (item) {
item.style.transform = 'none';
item.style.position = 'relative';
item.style.top = 'auto';
item.style.left = 'auto';
});
}, 200);
});