English 中文(简体)
编码/剪辑
原标题:Encoding / obfuscate a javascript object

我正在考虑让用户代码从我的网站上插入某些 j字内容。 它们都是通用基配置的定制版本。

我已经按照我的愿望去了这部法典,但在法典中,我将给使用者留下一个 j印的物体。 我很想知道,对标语进行编码,以便用户能够轻松地篡改标,使其更加专业。 我考虑使用第64条基数,但认为最好在我走这条路之前,询问是否有任何更好的想法。

最佳回答

你可以压缩你的代码,缩小变量名称,并使用基地64编码。 例如,javascriptcompressor.com。 你们一劳永逸(实际上利用了第62号基地编码),但实际上不是很难去除所有这一切。

基础64的编码与编码一样容易。 用于压缩(消除线间断等)。 使对该法典的理解复杂化的唯一事情是缩小变量,因为它不能自动放弃。

尽管如此,了解 Java本的每个人都能“篡改”你的法典。 关于寻找职业,我并不认为你从这个意义上获得任何好处,而只是我......。

问题回答

暂无回答




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

热门标签