allow using f URL param instead of hash