Revert "Refactor building url src of extension.  Add to separate buffer-src file"

This reverts commit 3e916e94400bd2a8186b27efc12bcdb1a4ad1c1a.
Handle TPC disabled check again