English 中文(简体)
我能否写出Java文,以防其他可能在网页上运行的法典?
原标题:Can I write JavaScript to be more defensible against other code that could be running on the page?
  • 时间:2023-06-18 02:01:09
  •  标签:
  • javascript

我先花了许多时间测试和瓦贾文,用于在线考试。 很奇怪,我会发现用户正在使用一种浏览器粉碎机,改变行为或显示,或造成静脉中的错误,主要是有助于拼写、制图或无障碍的环境。 但是,我也知道一些学生将支付在线che勤服务的费用,我想尝试并重写一些Javascript,以减少易浏览器粉碎注射功能和有相同名称的物体的错误,但如果任何在线che调服务想要加入现行法典以改变其行为,则会更加困难。

(说明1:对网上教学服务的原始内容的关注,并不总是有助于学生,而且如果学生不求学,他们可能会破坏学生的士气,迫使学生更多地依靠其他考试。)

(说明2:没有正确的答案存放在网页上,所有标识都在服务器上。)

(说明3:所有法典都添加到开放源项目上,我不想服从于法典,因为这样会更难以解议立法问题。)

Is there a way to see what browser plugins are running on a page? Is there a way to see if any other code is running on a web page? In some cases it has looked like the quiz JavaScript objects have been overridden, so something like the "object.toString();" might not return the value expected would changing code to something like "String(object).valueOf();" prevent methods from being overloaded to change the existing codes behaviour? Are there operators in JavaScript that can t be overridden?

问题回答

在你提问的最后部分,实际上有。 用户browser plugins。 关于防止修改方法/目标,显然可以使用。 希望这一帮助!





相关问题
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.

热门标签