How to hide labels in Confluence page using JavaScript in Specific Spaces
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
このガイドは参考情報として提供され、アトラシアンのサポート対象ではありません。このページの内容について質問がある場合、アトラシアン コミュニティでお問い合わせください。
To hide labels displayed in Confluence page of specific spaces using JavaScript.
ソリューション
Find out the space key for the spaces in interest by going to Space Tools > Overview.
ではない場合は、
Confluence Admin >> Custom HTML[編集] をクリックします。
Add the following to At the end of the HEAD:
<script type="text/javascript">
AJS.toInit(function(){
if (AJS.$('meta[name=confluence-space-key]').attr("content")== '<space_key>'){
AJS.$('#labels-section').hide();
}
});
</script>ℹ️ Replace the <space_key> above with the actual space key obtained from step 1
この内容はお役に立ちましたか?