InnerHTML isn't a very good approach to any problem. You might want to rewrite that stuff using the DOM. You might find that things tend to work better.
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する