One client script run in all doctype

One client script run in all doctype as a global

Hi @mohsininspire:

Use desk assets on hooks.py
https://frappeframework.com/docs/user/en/python-api/hooks#desk

JS code on app_include_js will be executed along across all desk environment.
Hope this helps.

Thanks but I want to effect any doctype refresh then how to write the code?