A function that waits for a specific element to load before running a specified callback. portated from this GitHub gist: https://gist.github.com/BrockA/2625891#file-waitforkeyelements-js
這裡只顯示彼此間有代碼差異的版本。 顯示所有版本。