Skip to content

Instantly share code, notes, and snippets.

@marcustyphoon
Last active August 10, 2020 22:42
Show Gist options
  • Save marcustyphoon/3ef9122d4e2bba1203f34c0ae1fc2852 to your computer and use it in GitHub Desktop.
Save marcustyphoon/3ef9122d4e2bba1203f34c0ae1fc2852 to your computer and use it in GitHub Desktop.
to add to tweaks, presumably, once it's not... a large unorganized pile of things
//* TITLE hide-where-were-we **//
//* VERSION 1.0.0 **//
//* DESCRIPTION **//
//* DEVELOPER New-XKit **//
//* FRAME false **//
//* BETA false **//
XKit.extensions.hide_where_were_we = new Object({
running: false,
run: async function() {
this.running = true;
await XKit.css_map.getCssMap();
XKit.tools.add_css(`${XKit.css_map.keyToCss('newPostIndicator')} { display: none !important; }`, "xkit_tweaks_hide_newPostIndicator");
},
destroy: function() {
this.running = false;
XKit.tools.remove_css("xkit_tweaks_hide_newPostIndicator");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment