finished basic callBackground feature for both safari and chrome