Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
jNotifyまたは同様のプラグインをセットアップして、アラートを簡単に表示できるようにする必要があります。私の質問は、1つのファイルだけを使用して複数のドメインにわたってこれを行うにはどうすればよいかということです。
私の目標は、1つのjNotifyアラートファイルを有効/無効にすることですが、5つのWebサイトで使用されています。
誰かが共有できるアドバイスはありますか?
ありがとう
絶対URLでファイルを含める
<script type="text/javascript" src="http://www.yourserver.com/jsfile.js"/>