Jump to content

[SHARE-JAVASCRIPT] NO Right-Click on your Website - Hide the Source !


Recommended Posts

Posted

well, here we are.

 

I was browsing the web ...then I saw this : NO right click !

 

How it Works ? You must put the following code in your Page Source BEFORE THE </head> ! ;D

 

 

Here is the code :

 


<script language=JavaScript>
<!--

//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if 
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// --> 
</script>

 

 

Proof => www.l2-x.com  (try to see the page source with right click) ;D

Posted

with opera you can see the source :D .. that blocks firefox and maybe IE ... thx

Posted

you mean Opera with right click or from the panel ? cuz, from the panel you can see the source...this is to prevent Right clicks on your Website...not to Hide the source XD

Posted

you mean Opera with right click or from the panel ? cuz, from the panel you can see the source...this is to prevent Right clicks on your Website...not to Hide the source XD

 

you added this to your web , with firefox i cant right click to click , "view source" but with opera i can do this .. without panel ..

Posted

Warning!

GameServer/ Forum/ Website Closed for UNKNOWN Reasons !

Go play Somewhere else, Thank you !

 

jaja u cant cp unless u read and cp :P good one a man =) ty

Posted

I would like to advise all to encrypt all the Important Documents of your Webpage with this encrypter which can be ARABIAN for Humans, But Just fine for all Browsers XD

 

http://www.dynamicdrive.com/dynamicindex9/encrypter.htm

 

Here is the Source of www.l2-x.com , Proof =>

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<script>
<!--
document.write(unescape("%3Chead%3E%0A%3Cmeta%20http-equiv%3D%22content-type%22%20content%3D%22text/html%3B%20charset%3DUTF-8%22%20/%3E%0A%3Ctitle%3EWelcome%20to%20Lineage%20%5D%5B%20X%3C/title%3E%0A%3Cmeta%20name%3D%22keywords%22%20content%3D%22vendetta%2C%20lineage2%2C%20lineage%2C%20games%2C%20date%2C%20max%2C%20new%2C%20menubar%2C%20location%2C%20toolbar%2C%20open%2C%20function%2C%20eval%2C%20home%2C%20game%20cp%2C%20how%20to%20connect%2C%20features%2C%20rules%2C%20downloads%2C%20forums%2C%20contact%2C%20navigation%2C%20links%2C%20irc%20chat%2C%20make%20a%20donation%2C%20download%2C%20server%2C%20servers%2C%20germany%2C%20gamesites%2C%20gamesites200%2C%20items%2C%20how%20to%2C%20internet%2C%20virtual%22%20/%3E%20%0A%3Cmeta%20name%3D%22robots%22%20content%3D%22index%2Cfollow%22%20/%3E%0A%3Cmeta%20name%3D%22description%22%20content%3D%22Welcome%20to%20Lineage%20%5D%5B%20X%21%22%20/%3E%0A%3Cmeta%20name%3D%22author%22%20content%3D%22A-Style%22%20/%3E%0A%3Clink%20rel%3D%22stylesheet%22%20href%3D%22agreement/style.css%22%20type%3D%22text/css%22%20/%3E%0A%0A%3Cscript%20language%3DJavaScript%3E%0A%3C%21--%0A%0A//Disable%20right%20click%20script%20III-%20By%20Renigade%20%28renigade@mediaone.net%29%0A//For%20full%20source%20code%2C%20visit%20http%3A//www.dynamicdrive.com%0A%0Avar%20message%3D%22%22%3B%0A///////////////////////////////////%0Afunction%20clickIE%28%29%20%7Bif%20%28document.all%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%0Afunction%20clickNS%28e%29%20%7Bif%20%0A%28document.layers%7C%7C%28document.getElementById%26%26%21document.all%29%29%20%7B%0Aif%20%28e.which%3D%3D2%7C%7Ce.which%3D%3D3%29%20%7B%28message%29%3Breturn%20false%3B%7D%7D%7D%0Aif%20%28document.layers%29%20%0A%7Bdocument.captureEvents%28Event.MOUSEDOWN%29%3Bdocument.onmousedown%3DclickNS%3B%7D%0Aelse%7Bdocument.onmouseup%3DclickNS%3Bdocument.oncontextmenu%3DclickIE%3B%7D%0A%0Adocument.oncontextmenu%3Dnew%20Function%28%22return%20false%22%29%0A//%20--%3E%20%0A%3C/script%3E%0A%0A%3C/head%3E%0A%0A%3Cbody%3E%0A%3Cdiv%20border%3D%220%22%20align%3D%22center%22%3E%0A%3Cbr%20/%3E%0A%3Cdiv%20align%3D%22center%22%20style%3D%22border%3Anone%22%3E%0A%3Cimg%20src%3D%22/splash.jpg%22/%3E%0A%3C/div%3E%0A%3Cbr%20/%3E%0A%0A%09%09%09%09%09%09%09%09%09%3Cdiv%20border%3D%220%22%20style%3D%22margin-right%3A30px%22%20align%3D%22center%22%3E%0A%09%09%09%09%09%09%09%09%09%09%3Ctable%20class%3D%22terms%22%20width%3D%22100%25%22%20cellpadding%3D%223%22%20cellspacing%3D%221%22%20border%3D%220%22%3E%0A%09%09%09%09%09%09%09%09%09%09%09%3Ctr%3E%20%0A%09%09%09%09%09%09%09%09%09%09%09%09%3Cth%3E%3Cspan%20style%3D%22font-size%3A14px%22%20%3EWarning%21%3C/span%3E%3C/th%3E%0A%09%09%09%09%09%09%09%09%09%09%20%20%3C/tr%3E%0A%0A%09%09%09%09%09%09%09%09%09%09%09%3Ctr%3E%0A%09%09%09%09%09%09%09%09%09%09%09%09%3Ctd%20class%3D%22terms%22%3E%0A%09%09%09%09%09%09%09%09%09%09%09%09%20GameServer/%20Forum/%20Website%20Closed%20for%20UNKNOWN%20Reasons%20%21%20%3Cbr%3E%3Ccenter%3EGo%20play%20Somewhere%20else%2C%20Thank%20you%20%21%3C/center%3E%3Cbr%20/%3E%0A%09%09%09%09%09%09%09%09%09%09%09%09%0A%09%09%09%09%09%09%09%09%09%09%09%20%20%3C/td%3E%20%20%20%0A%09%09%09%09%09%09%09%09%09%09%20%20%3C/tr%3E%0A%09%09%09%09%09%09%09%09%09%09%3C/table%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/div%3E%0A%0A%3Cbr%20/%3E%0A%0A%09%3Cform%20method%3D%22post%22%3E%0A%09%09%3Cdiv%20style%3D%22margin-right%3A30px%22%20align%3D%22center%22%3E%0A%09%09%09%3Cinput%20type%3D%22hidden%22%20value%3D%22submit%22%20name%3D%22action%22%20/%3E%0A%09%09%09%3Cinput%20type%3D%22reset%22%20%20value%3D%22OK%20%21%22%20name%3D%22iagree%22%20class%3D%22agreement%22%20onclick%3D%22javascript%3Awindow.location%3D%27http%3A//l2.hopzone.net/lineage2/list.html%27%22%20/%3E%0A%09%09%09%3Cinput%20type%3D%22reset%22%20style%3D%22margin-left%3A15px%22%20value%3D%22Hell%20NO%20%21%22%20name%3D%22iagree%22%20class%3D%22agreement%22%20onclick%3D%22javascript%3Awindow.location%3D%27http%3A//www.google.com%27%22%20/%3E%0A%09%09%3C/div%3E%0A%09%3C/form%3E%0A%3C/div%3E%0A%0A%3Cbr%20/%3E%0A%3Cbr%20/%3E%0A%3C/body%3E%20%0A%3C/html%3E"));
//-->
</script>

 

Enjoy ! ;D

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • This update resaves 25_25 from the original (with sounds) (without the cave below) Some emitter fixes (removed waterfalls with high-poly meshes) The geodata is old, but it works Everything else is unchanged Download P.S. The effect files are taken from the high client for Interlude, so if you're experiencing critical skills, use the default ones for your Version.  
    • GX-Ext Which file of the svn files should i edit to make blow skills to have 100% chance so i can add the settings in the IlExt.ini? because when im changing it from the skilldata.txt it just helps
    • 我们感谢您的 反馈 并希望让服务变得更加 优秀! 如果您使用过我们的服务并愿意分享您的体验(任何体验——积极或建设性),请在Trustpilot上留下评价,并获得$1作为感谢。 链接: https://www.trustpilot.com/review/socnet.pro 如何获得奖励: 1. 前往Trustpilot并留下您的评价 2. 向我们发送发布确认截图,以及带有与评价用户名一致的授权账户截图。 3. 指定哪个商店应收到这 $1 奖励。根据商店不同,可能需要您的用户名/电子邮箱。 您的反馈帮助我们成长,并让项目对社区中的每一位成员变得更好。感谢您与我们同行! 条款: 此活动仅适用于一个唯一用户。不允许多账号行为。 项目有效链接: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram 方便访问商店。 虚拟号码服务: 前往 用于购买 Telegram Stars 的 Telegram 机器人: 前往 – 在 Telegram 中快捷且优惠地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 我们想向您展示当前的 促销和特别优惠列表 用于购买我们提供的产品与服务: 1. 您可在首次购买时使用优惠码:SOCNET(15% 折扣) 2. 获得 $1 商店余额或 10–20% 折扣——只需在我们网站注册后,按照模板填写您的用户名:“SEND ME BONUS, MY USERNAME IS...”并在我们的论坛主题中发布! 3. 首次启动 SMM 面板可获得 $1:只需在我们的网站(Support)提交主题为 “Get Trial Bonus” 的工单。 4. 我们的 Telegram 频道以及 Stars 购买机器人中每周都有 Telegram Stars 抽奖! 新闻: ➡ Telegram 频道: https://t.me/accsforyou_shop ➡ WhatsApp 频道: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord 服务器: https://discord.gg/y9AStFFsrh 联系方式与支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock