Google plug-in development stepping experience

Welcome to add and make progress together

Problem: Script loading is prohibited, roughly because the browser refuses to load the script tag.
Error:
Solution: In addition to the introduction of JS in the development of plug-ins, any JS language is prohibited elsewhere. Don't even think about calling onclick in the label. Write it in a separate JS file.

Problem:
Error:
Resolution:

Problem: Cross-domain access
Error:
Solution: Use message communication

Guess you like

Origin blog.csdn.net/Cml_l/article/details/113671182