---
title: " 破解网页右键被禁止js"
author: "disablebb"
date: "2014-07-14T11:05:42Z"
tags: []
categories: ["Web前端"]
slug: "js"
draft: false
lastmod: "2014-07-14T11:05:42Z"
id: 2091797
url: "https://disablebb.iteye.com/blog/2091797"
---

```
 javascript:alert(document.onselectstart = document.oncontextmenu= document.onmousedown = document.onkeydown= function(){return true;});
```

 在地址栏输入访问后 右键可用。