MonkeyConfig Mod

Enhanced Configuration Dialog Builder with Column layout , Custom styling, and Additional input types

< 脚本MonkeyConfig Mod的反馈

提问/评论

§
发表于:2025-03-11

The script should be prevented from running inside an iframe,
as it interferes with ads, CAPTCHA, and websites that rely on iframes.

Additionally, it is recommended to use menuCommand instead of storageKey,
since the current storageKey configuration:

storageKey = '_MonkeyConfig_' + safeTitle + '_cfg';
causes the previous settings to be lost after each update, requiring the settings to be reconfigured every time an update occurs.

§
发表于:2025-03-11
编辑于:2025-03-11

Thank you for the feedback , about the reason for previous settings being lost after every update, this is a question I had long ago that I forgot to ask you , if you have time and idea to improve this library , please rewrite and upload to filebin , The display problem also makes me confused how to fix it,
the display I want is like this
Layout

but sometimes different sites or pages, the display is like this
Layout

§
发表于:2025-03-11

Replace line 39 with:
storageKey = '_MonkeyConfig_' + GM_info.script.author + '_cfg';

For frames, try adding @noframes. If that doesn't work, add the following code at line 209:
if (window.self !== window.top) return;

what you're describing is likely due to the website's design doing an override.

In general, if you really want to improve the config, I would recommend checking out GM_config.
It's more up-to-date and supports many more features, including custom CSS design.

发表回复

登录以发表回复。