English 中文(简体)
可处理和可变 IE
原标题:Disable & resize IE
  • 时间:2011-10-19 22:53:19
  •  标签:
  • javascript

我想到几个问题。

  1. I want to disable right click on my webpage so that noone can alter the source code
  2. I want to disable the addressBar as well
  3. I wish to resize it to a particular size in the bottom right of my screen & with a text area so that when ever I click the button inside that webpage all the contents in that text box should be copied

I tried experimenting but it doesn t seem to work, javascript maybe has some issues. I wan t it purely on javascript & HTML (Can t use php/asp), want it to work on IE only, dont care about other browsers....

问题回答

1) I wasnt to dis able right click on my webpage so that no one can alter the source code

无论是否雇用了浏览器 ha,用户将always<>em>能够查看你的来源。 任何人都不得更改服务器上的源码(发现服务器的 ha缩或你代码中的弱点)。 但是,使用火焰(或类似)器,任何人都可以改变客户方的文字、特别安全局和(或)超文本。

2)我想要解脱地址 律师

你们只能获得一个浏览器的充分利用。 这将迅速消失(如果每个地点都控制着你的根 b,并且与它做不同的事情,就想象潜在的浏览器诱导。) 页: 1 确实,你的网站创造了一个人口窗口,该窗口的大小是具有特定特性(穿透地址,等等)。 请注意,您可能就此通知用户,因为你不得不处理登机问题。

3)I wish to resize it to a particular size in the bottom right of my screen & with a text area so that when ever I click the button inside that webpage all the contents in that text box should be copied

我不知道这意味着什么。


这一职位是不是roll?

你可以把地址与Java文本分开。

然而,你可以随意点击。 注: 任何具备足够技术背景的人,如果知道与源码做些什么,那么他们就足够知道,只能听从可笑的Javagust语去点工作。

这里带有源代码的mo,可随意点击

你们的回答对你再次提出的要求有好的看法,我强烈建议你重新考虑你重新做些什么。





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.