easonwong-de/Adaptive-Tab-Bar-Colour

Permission denied to access property “apply”

Closed this issue · 16 comments

Error:

Uncaught Error: Permission denied to access property "apply"

The entire page is blank. I would suggest loading a notebook server to investigate.

Hello! May I ask where did you see these errors? Does Jupyter work again if you turn off the add-on?
Sorry for the late reply, I was on a vacation.

It does work after disabling the extension. The error appeared in dev tools.

Thanks. I’ll look into it.

Any updates on this?

@Michael-Vol Sorry but not yet. I started my internship recently and was quite busy these days. I’ll keep you up-to-date.

@YS-Wong No problem, thanks for the quick response! I only asked because I happened to come across this issue on other sites as well. I'll check the thread for any updates in the future 🚀

@Michael-Vol So, did the add-on break on other sites other than Jupyter Notebooks? It would be pretty helpful if you report them to me. I’ll see what I can do. Or if you have any suggestions, feel free to file an issue. :)

I noticed the exact same error (Uncaught Error: Permission denied to access property "apply") on another site as well but I can't recall which one was it. Iirc the page loaded as normal but the error was shown on the console when I clicked on a specific button for online payments. I'll provide more info if I can.

@Michael-Vol Thanks for the information. I’ll work on this.

@jacksongoode @Michael-Vol Jupyter Notebook seems to work normally on my end.
Screen Shot 2022-09-24 at 19 18 15

It still doesn't work on other sites (e.g., on https://imgflip.com/memegenerator) on v1.6.12, as shown in the screenshot the permission denied to access property "apply" error still exists.
Screenshot 2022-09-28 at 12 02 53 PM

@Michael-Vol Could you show the entire browser? The website is also working fine here. And, Adaptive Tab Bar Color doesn’t use a JavaScript file named as jq.js.
Screen Shot 2022-09-28 at 22 34 42

My bad, I should've mentioned that it appears when you use the search function. You can see the difference when the plugin is enabled/disabled. The jq.js file belongs to the website, but it seems that the plugin messes around with that when I try to search. In general, until now, the error is shown only when a button event is triggered.

Screen.Recording.2022-09-28.at.11.41.56.PM.mov
Screen.Recording.2022-09-28.at.11.41.20.PM.mov

@Michael-Vol Intéressant. I never knew this could happen. Thanks for the screen recordings, I’ll look into it.

@jacksongoode @Michael-Vol The bug might have been fixed.

Can confirm, it's fixed!