Side navigation
#2315 closed feature ()
Opened February 10, 2008 05:17AM UTC
Closed November 11, 2010 11:09PM UTC
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
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.
Attachments (0)
Change History (6)
Changed May 11, 2008 11:26PM UTC by comment:1
component: | core → ajax |
---|---|
description: | \ 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. \ → 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. \ |
keywords: | → evalscript noscript |
owner: | → flesler |
priority: | major → minor |
status: | new → assigned |
type: | enhancement → feature |
Changed July 29, 2008 05:08PM UTC by comment:2
resolution: | → invalid |
---|---|
status: | assigned → closed |
Please reopen with an actual usecase, "would be nice" isn't enough to justify a new feature. Thanks.
Changed November 19, 2008 12:46PM UTC by comment:3
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.
Changed November 19, 2008 10:37PM UTC by comment:4
cc: | → xwisdom |
---|---|
milestone: | 1.2.4 → 1.3 |
need: | Review → Test Case |
owner: | flesler |
status: | reopened → new |
Uhm... and what'd be a proposed approach ?
Changed October 14, 2010 03:14AM UTC by comment:5
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!
Changed November 11, 2010 11:09PM UTC by comment:6
status: | pending → closed |
---|
Automatically closed due to 14 days of inactivity.
Could be, I'll check how much code this requires soon.