support cross domain and optimize calling fc.log