How to remove Catalyst stylesheets and scripts

How do I stop BC from inserting stylesheets and scripts into my layouts? I have been working on catalog and product layouts and templates but BC continues to insert scripts & stylesheets that I do not want to include, particularly borders and margins.
I know about removing all code leaving it blank from the /StyleSheets/ModuleStyleSheets.css
But here is an example of a product large which includes a number of these which effect the layout
<link href="/StyleSheets/ModuleStyleSheets.css" type="text/css" rel="StyleSheet" />
<script type="text/javascript">var jslang='EN';</script>
<link rel="stylesheet" href="/CatalystStyles/Box.css" type="text/css" media="screen" />
<script type="text/javascript" src="/CatalystScripts/Java_OnlineShopping.js"></script>
<script type="text/javascript" src="/CatalystScripts/Java_Cookies.js"></script>
<script type="text/javascript" src="/CatalystScripts/Java_Box.js"></script>
Any suggestions would be greatly appreciated

While I don't recommend using the Cloud Service you are talking about to speed up the site (you can just combine and minify your styles and scripts for faster performance instead) I think your best bet is to copy the contents of ModuleStylesheets.css above the CSS rules in your main CSS file that styles your site.  Then, delete all the CSS rules in ModuleStylesheets.css so that it's an empty file.  BC will still render the ModuleStylesheets reference in the HEAD above your script but it will only be quick connection to the server to return 0kb (an empty file). 
Since you moved your modulestylesheet css to your main css file (and it's referenced after the Cloud Service script) then you should be good to go.
Again, though I recommend not using that cloud service and just combine all your CSS and scripts into two files, one for all your CSS and one for all your js and then making sure all your images are optimized on the site and where there are instances of images that have a fixed width and height you can utilize sprite sheets so that a lot of your images are stored in a single image.
Another option is to pay for the super cheap Amazon S3 and upload your main css file and your single minified and combined javascript files to there and update your page template to reference the CSS and JS on Amazon S3 so it's essentially like a CDN which will speed things up as well.

Similar Messages

  • Trying to update iPad mini. Old email continues to appear and can't authenticate. How to remove it totally and use my iCloud I.D.?

    Trying to update iPad mini. Old email continues to appear and can't authenticate. How to remove it totally and use my iCloud I.D.?

    If you have any apps that were acquired with the old ID they will always be tied to that ID. Delete them and reacquire them with the new ID that you have in Settings > iTunes and App Store

  • How to remove all columns and cells in numbers

    how to remove all columns and cells in numbers

    Click on the Table's icon in the Sheets list. Press delete.
    Done.
    Regards,
    Barry

  • How to remove AM extension and substitution from server

    Hi,
    Can somebody please tell me how to remove existing subsitution and extension of AM from server.
    Regards
    Swati

    Swati,
    You can delete the substitution by using an API jdr_utils.deletedocument('<path>').
    The path will be like 'oracle/apps/ap/xx/customizations/0/server/...'
    Regards,
    Gyan
    Edited by: Gyan on Jun 3, 2011 7:28 PM

  • HOW TO REMOVE SHOPING REPORT AND COPMARE TRAVEL RATES FORM MAIN TOOL BAR IN FIR FOX ?

    # Question
    HOW TO REMOVE SHOPING REPORT AND COPMARE TRAVEL RATES FORM MAIN TOOL BAR IN FIR FOX ?
    WHEN EVER i AM SEARCHNING IN GOOGLE IN LEFT SIDE SHOPPING REPORT APPIR AUTOMATICALLY.

    Yahoo Messenger by default installs a number of extras such as the Yahoo toolbar and a browser plus plugin. There are a couple of places to check to uninstall these. First is the add-ons manager, for details on uninstalling via the add-ons manager see the [[Uninstalling add-ons]] article. If the Yahoo toolbar is not listed there, you can check the Windows control panel. The BrowerPlus plugin will probably also be listed in the control panel.
    You should be able to remove it from the Windows control panel.
    * From the Start menu, select Control Panel
    * Open the list of installed programs:
    ** If in icon view, click Programs and Features
    ** If in category view, under "Programs", click Uninstall a program
    * In the list of programs select the program, and then click Uninstall.

  • How to remove the Options and Task from the toolbar

    In the FLM portal initially we can see 'Options' in the menu bar after we log in. Below it there is 'Tasks' and 'Reports'. on clicking 'Tasks' and new menu bar 'Tasks' can be seen, under which 'New Tasks' option is there. When we click on 'New Forms' it shows the list of forms and when we select the desired form it opens the interactive form.
    My problem is when this form is opened on the header the 'Options' and 'Tasks' bar can be seen, under which the adobe menu bar comes (Print, Save, Zoom etc.) . This 'Options' and 'Tasks'  how to remove from the interactive forms page.
    Edited by: NIKHILKUMAR POOJARI on Feb 13, 2009 4:24 PM

    Dear Mano,
    By using Authorizations you can remove the Drag and Relate Menu
    Goto Administration ---> System Initialization -
    > Authorization -
    > General Authorization
    General -
    > Drag & Relate -
    > No authorization
    Regarding Authorizations, click the below link to get details
    [Define Authorizations|https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_HIER_KEY=701100035871000437965&_OBJECT=011000358700000481572006E&_SCENARIO=01100035870000000183&]
    Regards,
    Bala

  • How to remove win 8 and install win 7 in bootcamp

    I want to completely remove win 8 and install win 7 in bootcamp. I followed the steps in bootcamp assistant and it appears to remove the win 8 partition. However when starting a new win 7 bootcamp partition and installation setup still thinks win 8 is being used. how do I get it to recognize the win 7 now being installed from the usb drive? This is on an iMac 27 late 2012 with OS x 10.10.1

    Hi Janesdf,
    Welcome to Lenovo Community!
    As per the query we understood that you are looking for Windows downgrade on your Ideapad N580.
    Before doing any changes in the system HDD partition or with Windows OS, I suggest you to create the system recovery media and then you can downgrade the OS. But you require Windows 7 recovery media.
    Hope this helps.
    Best regards,
    Hemanth Kumar
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • How to remove unwanted plugins (and no I don't want to read any unrelated articles that never answer your question)?

    I want to clear out the unwanted plugins in Fire Fox . One plugin even has a warning about not using it (Java Deployment Toolkit). But every time I ask "how to remove a plugin?" , I am redirected to an article that doesn't answer the question. And then the circular argument begins again without ever actually answering the question.
    IS IT NECESSARY TO UNINSTALL FIREFOX TO REMOVE A PLUGIN??????

    Plugins like ex Flash and Java etc are not installed in Firefox like Extensions and Themes are. They are on system and Firefox has found and is making use of them. This is why you can only activate/deactivate which tells Firefox to make use of that Plugin on system or not.

  • How to remove Name space and Software Component in XI??

    Hi Frnds,
    How to delete Software Component and Name spaces.
    Please share me any documents.
    Regards,
    Raj

    Hi Raja,
    Check the sap help
    http://help.sap.com/saphelp_nw04s/helpdata/en/e8/c5fe4e336c4fdd89eb5fe5abc02865/frameset.htm
    Re: How to Remove Components
    Thanks!

  • How to remove Suspend ,Abort and some more from Bulk Actions

    Hi
    Does anybody have an idea as how to remove action such as Suspend,Abort but not all from Bulk actions in enterprise server.I am using 10.3.1 version.
    Any kind of suggestion will be greatly appreciated.
    Ritu

    What are you trying to accomplish here? By the sounds of it you want a way to be able to bulk abort, but not have the user be allowed to do this to individual instances...
    If so, I'd recommend setting the activities to NOT be abortable or suspendable, and add a Grab activity in a support role. Then make the grab, be abortable. This makes it so that a 'super user' (ie one with support role), can go in, select several instances, grab them, then abort them but normal users can not.
    Just a thought...
    HTH
    -Kevin

  • How to remove soapenv:actor and soapenv:mustUnderstand

    Hi,
    I need help with removing actor and mustUnderstand from SoapHeader. It will be great if any one can help me with this.
    I build a SOAP Header using JAX-RPC
    SOAPMessageContext soapMsgCtx = (SOAPMessageContext)context;
    SOAPMessage soapMsg = soapMsgCtx.getMessage();
    SOAPPart soapPart = soapMsg.getSOAPPart();
    SOAPEnvelope soapEnv = soapPart.getEnvelope();
    SOAPHeader soapHeader = soapEnv.getHeader();
    Name userCredTag = soapEnv.createName("PPSoapHeader","", URI);
    SOAPHeaderElement hdrEl = soapHeader.addHeaderElement(userCredTag);
    This prints -
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
    <PPSoapHeader soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns="http://schemas.microsoft......."/>
    I want to get Rid of "soapenv:actor" and soapenv:mustUnderstand="0"
    How can I do this.
    Thanks
    Sameer

    I only ask because the spec specifies that mustUnderstand=0 must be accepted by a SOAP node:
    http://www.w3.org/TR/2003/REC-soap12-part1-20030624/#soapmu
    Unfortunately, I can't help you with your problem, I don't use JWSDP, and looking at the SAAJ API it's not immediately obvious how to remove those attributes.

  • How to remove ticking noise and doing audio effects?

    I have a snippet of code I got for generating delay effects. After editing the appropriate things, I ran the application. It produces delays but (if i hear it correctly), the delayed sounds do not fade. It sounds like a mix of sounds. Does it depend on feedback? And there's this ticking noise accompanying the output. I just want to know how "ticking sounds" are produced (and probably how to remove them) and how to produce a correct delay.Here's my program.
    public void delayProcessor(double[] data, int sampleRate, int delayInMs){
            //initialization
            int delayOffset = (int) ((delayInMs * sampleRate * 1) / 1000);
            double[] buffer = data;
            int k = 0;
            delayBufferSize = data.length + delayOffset;
            delayBuffer = new double[delayBufferSize];
            // Index where dry sample is written
            writeIndex = 0;
            // Index where wet sample is read
            readIndex = data.length;
            for (int i=0; i < data.length; i++)
                double inputSample =  data;
    double delaySample = delayBuffer[readIndex++];
    double outputSample = (inputSample * dryLevel) + (delaySample * wetLevel);
    // make sure output is in range
    if (outputSample > 1)
    outputSample = 1;
    else if (outputSample < -1)
    outputSample = -1;
    // Store in output sample
    data[i] = outputSample;
    // Calculate feedback
    inputSample += (delaySample * feedbackLevel);
    // make sure input is in range
    if (inputSample > 1)
    inputSample = 1;
    else if (inputSample < -1)
    inputSample = -1;
    delayBuffer[writeIndex] = inputSample;
    writeIndex++;
    // Update indices
    readIndex %= delayBufferSize;
    writeIndex %= delayBufferSize;
    My sample rate depends on the user's desired setting but I'm currently testing on 11025. It's also mono, 16-bits if that information helps.
    Thanks in advance! :D                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi. Updated my code from the one above to this:
    public void echoProcessor(double[] samples, double decay, int sampleRate){
         int delayOffset = (int) (10 * sampleRate)/1000;
         int delayBufferSize = samples.length + delayOffset;
         double[] delayBuffer = new delayBuffer[delayBufferSize];
         int writeIndex = 0, readIndex = delayOffset;
         int i =0;
         for(i = 0; i < delayBufferSize; i++)
              delayBuffer[i] = 0;
         for(i = 0; i < samples.length; i++){     
              double oldSample = samples;
              double delay = delayBuffer[readIndex];
              double newSample = oldSample + (decay * delay);
              delayBuffer[writeIndex] = outputSample;
              readIndex++;
              writeIndex++;
              if(readIndex == delayBufferSize)
                   readIndex = 0;
    But I still get the continuous ticking sound but now I hear the sound output which somehow produces an echo.
    The double[] samples has a length of 512 then I convert it to bytes before writing to the SourceDataLine. Any ideas?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to remove viruses: savingsbullfilter and levelqualitywatcher32?

    How to remove viruses: savingsbullfilterservice.exe and levelqualitywatcher32.exe? Microsoft Security
    Essentials appears to remove these pop-up ad virus programs for one day, but the next day they are back. Any help is appreciated.
    Thanks!

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    '''<h2>Make sure you scan with ALL programs listed above.</h2>'''
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • How to remove old id and add new one for apps

    old id is not allowed me to update the apps since i forgot the password . I had made new one since the old one is added in my account i cloud , it has not me to allowed to do anything , please inform how to remove my old id without password since i forgot the same

    You need to delete and redownload all of the applications associated with that Apple ID; it's stored inside them.
    (123008)

  • How to remove Search Option and Portal favorites

    Hi Experts,
    I created two roles 1 & 2. and url iviews for BW reports and url iview for our company intranet home page.
    I assigned/published all BW Iviews to role 1 and iview of intranet home page to role 2.
    Now i got couple of cosmetic changes that i need to do on Role 2/intranet Iview to maximize the viewing area and give the look and feel of a web site.
    1) How can i remove the bar that shows title of ivew and 3 options "History","Back","Farward" and "Options"
    2) There is a search/Advanced search option above the roles(tabs) and below the Master Head...how can i remove that option.
    3) How to remove Portal Favirate option in the navigational pannel
    Thanks

    and one more requirment
    How can i arrange Tabs(Roles) in my desired sequence to the user.
    Ex: I got a 10 Roles (As entry Point Yes)..now i want to show roles 9 as tab 1 and role 3 as tab 2....etc
    when user logs on
    Thanks

Maybe you are looking for

  • IWeb- website text appears thick or blurry

    Hi--When creating my website (web.mac.com/cadirect) the text looks nice and clean in iWeb, but viewed on-line (from my MacBook OR other computers...) the text looks thicker and/or a bit blurry or fuzzy. Any suggestions?

  • Annoying window switch in Mail Using Safari's "Mail Link to This Page..."

    Anyone else have the annoying problem where they use Safari's "Mail Link to This Page", and it opens a New Mail Composer Window, but then opens Mail's main window right over it, forcing you to switch back to the Composer window? Only seems to happen

  • Typewriter effect skip to end

    Ok so this has been bugging me for awhile a so far I've ignored it because it's not a huge deal but I have a type writer effect using the code below, the problem is I want, when a button is clicked, for it to finish completely. Just jump right to the

  • EBS R12 forms over Internet...???

    Hii All, Can we deploy EBS R12 forms over internet? Is it supported by oracle..? will there be any issues in accessing EBS forms through internet...? Will there be any security issues...?? Did anybody implemented this already..? or using VPN is safe.

  • Updating a Access Database via a Bean

    I�m having a problem using a java bean to update the contents of a database. I receive the error message: Cannot find a method to read property 'firstname' in a bean of type 'myBeans.UpdateGuestBean' I have an html form embedded in a jsp page as foll