Skip to content

Instantly share code, notes, and snippets.

@daffodilistic
Last active February 20, 2026 13:19
Show Gist options
  • Select an option

  • Save daffodilistic/245d5c3b817fe9f1220f509c996ff2f8 to your computer and use it in GitHub Desktop.

Select an option

Save daffodilistic/245d5c3b817fe9f1220f509c996ff2f8 to your computer and use it in GitHub Desktop.
EDMW QOL
// ==UserScript==
// @name EDMW QOL
// @namespace forums.hardwarezone.com.sg
// @include https://forums.hardwarezone.com.sg/*
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @version 1
// @icon https://www.hardwarezone.com.sg/img/core/icon.ico
// @grant GM.addStyle
// ==/UserScript==
/* global $ */
const classes = [
'gotoverlay',
'gpt-got-skyscraper',
'hwz-taboola-top'
]
classes.forEach((e) => {
if ($('body').hasClass(e)) {
$('body').removeClass(e);
}
if ($('div').hasClass(e)) {
$('div').removeClass(e);
}
}
);
if ($('#gpt-ad-skyscraper-container') !== null) {
$('#gpt-ad-skyscraper-container').removeClass('gpt-ad-skyscraper-container');
}
$('.p-body-inner').css('max-width', '100%');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment