Using Jira Announcement Banner for Disabling "Log Work" Link on the Right Context Panel

<script> setTimeout(function() { if (AJS) { AJS.$("#add-worklog-issue-right-panel-link").hide() AJS.$("#announcement-banner").hide(); } }, 100); </script>