Bug Tracker

Opened 12 years ago

Closed 9 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 flesler)

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 12 years ago by flesler

Component: coreajax
Description: modified (diff)
Keywords: evalscript noscript added
Owner: set to flesler
Priority: majorminor
Status: newassigned
Type: enhancementfeature

Could be, I'll check how much code this requires soon.

comment:2 Changed 12 years ago by joern

Resolution: invalid
Status: assignedclosed

Please reopen with an actual usecase, "would be nice" isn't enough to justify a new feature. Thanks.

comment:3 in reply to:  2 Changed 11 years ago by gmcsmith

Resolution: invalid
Status: closedreopened

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 11 years ago by flesler

Cc: xwisdom added
Milestone: 1.2.41.3
need: ReviewTest Case
Owner: flesler deleted
Status: reopenednew

Uhm... and what'd be a proposed approach ?

comment:5 Changed 9 years ago by snover

Status: newpending

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 9 years ago by trac-o-bot

Status: pendingclosed

Automatically closed due to 14 days of inactivity.

Note: See TracTickets for help on using tickets.