Anyone having issues with custom JS recently?

Brandon_Brown
Community Explorer

We use custom JS to hide the +App button from teachers in a course. We also use similar code to prevent adding users to courses in the UI. Up until recently everything had been working properly. We had several people reach out and we confirmed our code is no longer working as expected. It seems that Instructure may have changed the class naming convention and now are using a lookup table with hashed values? Previously the element looked similar to this: 

class="AddExternalToolButton"

Now, the same element looks like this: 

class="fOyUs_bGBk fOyUs_fKyb fOyUs_cuDs fOyUs_cBHs fOyUs_eWbJ fOyUs_fmDy fOyUs_eeJl fOyUs_cBtr fOyUs_fuTR fOyUs_cnfU fQfxa_bGBk"

I'm not seeing anything in the release notes, change log, api documentation, etc. Just wondering if anyone else has come across unexpected behavior with their JS code? 

Labels (1)
0 Likes