Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6060265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T08:48:21+00:00 2026-05-23T08:48:21+00:00

I have an empty template with just a safecracker form consists of 2 custom

  • 0

I have an empty template with just a safecracker form consists of 2 custom field. When i try to load it up in the browser, it takes about 2-3 seconds to load. Looking in firebug i see the following GET

http://localhost/ee1/?ACT=7&ui=core,widget,mouse,position,draggable,resizable,button,dialog,datepicker&plugin=scrollable,scrollable.navigator,ee_filebrowser,ee_fileuploader,markitup,thickbox,toolbox.expose,overlay,tmpl&v=1308711156&use_live_url=y&include_jquery=y

I don’t need to load most of the things showing in the url above. How can i control what is loaded with safecracker form. I will be loading jQuery/UI directly from google so i don’t need safecracker to load it. I’m able to remove jQuery and datepicker from safecracker form by doing datepicker="no" include_jquery="no", but what about removing other things mentioned in the url such as scrollable, draggable, thickbox and other things.

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T08:48:22+00:00Added an answer on May 23, 2026 at 8:48 am

    The Short Answer:

    Sadly, there’s no way to disable many of the included SafeCracker JavaScripts.

    The Long Answer:

    SafeCracker is designed to be as general purpose as possible and to suit the needs of the largest audience.

    With this tradeoff, SafeCracker bundles jQuery, jQuery UI Widgets, jQuery Tools and various other jQuery Plugins and functions to facilitate client-side form validation and presentation of custom fieldtypes.

    As you’ve shown, you can disable jQuery from automatically being output by SafeCracker — say, if you want to use a newer version that what’s available from EE’s Control Panel — and can you disable the DatePicker, but as far as I know you can’t prevent the rest of the JavaScripts from being output without hacking the core SafeCracker library.

    Understandbly, I’m not a big fan of this “include everything and the kitchen sink approach” and hate seeing extraneous and bloated scripts being added to the page — especially ones that I would never use in the first place.

    Nevertheless, it’s clearly a design decision that SafeCracker was built to include all of the JavaScripts it outputs since there isn’t an approved way to remove them. So we’re essentially stuck dealing with them for the unforeseen future.

    If you feel strongly about this, I would suggest submitting a Feature Request to EllisLab to allow more configurability to SafeCracker’s sloppy way of outputting more JavaScripts that what’s really necessary.


    For the curious, take a peak around Line 887 in the following file to see just how many jQuery UI Widgets are bundled in the SafeCracker tag pair.

    /system/expressionengine/modules/safecracker/libraries/safecracker_lib.php


    Note: If you want to take matters into your own hands, you can comment out some of the items in the $js_defaults and $ui array, which will remove the JavaScripts from being output. However, in doing so you assume all responsibility and risk for SafeCracker’s operation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some flatpages with empty content field and their content inside the template
I just purchased a website template from DreamTemplate.com, and have tried to send a
I have a BinarySearchTree that consists of nodes which are both a template class
I have started a new iOS Empty Application -template project. When I put this
The Context I have a custom template container class put together from a map
I have a form that gets emailed to the store owner. Nothing fancy, just
I have a csv file which may have empty or blank rows. I want
When I am writing for example Spring Bean I often have empty element without
I am generating an Excel file through MATLAB and I have empty cells in
I have an empty matrix m : m <- matrix(0, nrow = 4, ncol

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.