Individual websites can't be granted permission over your entire browser, they operate in a sandbox (then again firefox for example has a relatively insecure sandbox).