Registers a source that will be attributed on the same origin.