在html或body行内写入:oncontextmenu="return false" ondragstart='return false;' onselectstart="return false;" unselectable="on"