add orgin page directive