79136497

Date: 2024-10-29 09:21:15
Score: 1
Natty:
Report link

You can get the project id from the context. Then check if the received id matches the expected one.

    $(document).ready(function () {
      const projectId = uiscripts.context.project.id;
      
      
      if (projectId == '1') {
     // something
     }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bio BoJlk