I want to add a javascriptcode which could run on to all doc-libs and lists pages. (NEwForm.aspx,DispForm.aspx,AllItems.aspx and also created custom views)
These lists have common masterpage with the rest of site pages. So i can't place my codes in masterpage.
So is there a way to do it in javascript?