Facebook has filed a patent application specifying methods for tracking its users while they are using other websites.