I’m going to dynamically change the protocols in source of all pages on Blogger.
Eg All http:// change to https:// on below items:
<link rel="..." type="..." href="http://www.blogger.com/..." /><script src="http://www.blogger.com/..."></script><iframe src="http://www.blogger.com/..."></iframe><a href='http://www.blogger.com/...'></a>- And if possible on internal javascript variables
The best choice for you is using Protocol-Relative aka Protocol-Agnostic urls:
So no need to change anything dynamically.