PostsA
``` javascript $(document).ready(function(){ $(document).bind("contextmenu",function(e){ return false; }); }); ``` ``` html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title> <script src="jquery.js"></script> </head> <body> <a href="https://www.google.com">google_新窗口</a> <a href="https://www.google.com" rel="external">google_新窗口</a> <a href="demo1.html">当前窗口</a> <script> $(function(){ $('a[href^="http://"]').attr("target","_blank"); }); </script> </body> </...
developmentjavascriptgo