Opened 15 years ago
Closed 12 years ago
#2315 closed feature
Option to prevent JavaScript processing via Ajax
Reported by: | xwisdom | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.3 |
Component: | ajax | Version: | 1.2.3 |
Keywords: | evalscript noscript | Cc: | xwisdom |
Blocked by: | Blocking: |
Description (last modified by )
It would be nice if we could have an ajax option to disable this the evaluation of javscripts during an ajax load:
$.ajax({
noscript:true
})
or
$('#section').load('page.html',,{
noscript:true,
success: function() { alert('Ok') }
})
The third param in the load function can be either a function or ajax options.
Change History (6)
comment:1 Changed 15 years ago by
Component: | core → ajax |
---|---|
Description: | modified (diff) |
Keywords: | evalscript noscript added |
Owner: | set to flesler |
Priority: | major → minor |
Status: | new → assigned |
Type: | enhancement → feature |
comment:2 follow-up: 3 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Please reopen with an actual usecase, "would be nice" isn't enough to justify a new feature. Thanks.
comment:3 Changed 14 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Usecase for this:
You are loading a page via ajax that has content you have no control over and you need to prevent it from firing the embedded javscript.
comment:4 Changed 14 years ago by
Cc: | xwisdom added |
---|---|
Milestone: | 1.2.4 → 1.3 |
need: | Review → Test Case |
Owner: | flesler deleted |
Status: | reopened → new |
Uhm... and what'd be a proposed approach ?
comment:5 Changed 12 years ago by
Status: | new → pending |
---|
This ticket has been marked as missing a test case. In an effort to reduce the number of outstanding tickets in the bug tracker, it will be closed automatically in 30 days. In order to prevent this from happening, please provide a working test case. If a test case has already been provided and our records are wrong, please respond to the ticket so that it can be fixed. Thank you!
comment:6 Changed 12 years ago by
Status: | pending → closed |
---|
Automatically closed due to 14 days of inactivity.
Could be, I'll check how much code this requires soon.