I have this script but i wand to hide this element for special user-group onliy for this user-group
Thanks for help
<script type="text/javascript">
AJS.toInit(function() {
setTimeout(function() {
if (AJS.$("#sidebar-discover .nav-item-all-updates").length > 0) {
AJS.$("#sidebar-discover .nav-item-all-updates").hide();
return;
}
}, 100);
});
AJS.toInit(function() {
setTimeout(function() {
if (AJS.$("#sidebar-discover .nav-item-all-updates").length > 0) {
AJS.$("#sidebar-discover .nav-item-all-updates").hide();
AJS.$("#sidebar-discover .nav-item-popular-stream").hide();
AJS.$("#sidebar-discover > div > div > strong").hide()
return;
}
}, 100);
});
$( document ).ready(function() {
if (window.location.href.indexOf("#all-updates") > 0) {
location.replace("https://conf.#######.##/#recently-worked")
location.reload();
}
});
</script>
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.