Reply to post: Re: I have an easier fix...

Microsoft wonders if disabling just-in-time compilation of JavaScript improves browser security

Anonymous Coward
Anonymous Coward

Re: I have an easier fix...

Does that include the "The Register"? All your upvotes depend upon javascript

They were cast thanks to this

```

function cast_vote(link){link.blur();if(vote_already_cast(link))return;var count=get_count(link);count.node.data=count.node.data.replace(count.value,count.value+1);link.attr('data-user-vote','true');}

```

and you know about it thanks to this

```

function get_count(link){var node=link.contents().filter(function(){return this.nodeType===3&&!isNaN(parseInt(this.data,10));}).get(0);if(typeof node==='undefined')return;return{'value':parseInt(node.data,10),'node':node};}

```

However, "The Register" is an example of a site where JIT is absolutely not required.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon