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 637865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:40:14+00:00 2026-05-13T20:40:14+00:00

I am talking about the WebResource and ScriptResouce js files that are added to

  • 0

I am talking about the WebResource and ScriptResouce js files that are added to the page html. They are quite big. On some pages I don’t need them, so it is safe to remove them.

It would seem logical just to remove the scriptmanager, however this is not an option. Some pages use ajax based on a query string. and i use an update panel too. So removing the script manager won’t work. I thought maybe I could just disable it, but there is no option for that.

So I guess the only option is to remove the scripts from the output html.

Any ideas how to do that?

  • 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-13T20:40:14+00:00Added an answer on May 13, 2026 at 8:40 pm

    Well apparently you can remove them by modifying the html output just before rendering.

    However I prefer this approach:

    Sub DisableAjaxScripts() Handles Me.PreRequestHandlerExecute
        Dim Request = HttpContext.Current.Request
    
        If (Request.RawUrl.Contains("WebResource.axd") Or Request.RawUrl.Contains("ScriptResource.axd")) Then
            HttpContext.Current.Response.End()
        End If
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am talking about one of these Dialog boxes that pop up: http://jquerymobile.com/test/docs/pages/page-dialogs.html (short
I am talking about some sort of function that can combine an array of
I am not talking about search engine indexing of static pages like about.html, services.html.
Talking about html forms, does the html obfuscation really works? Some post on SO
I'm not talking about tools that let one view a page in combinations of
I am talking about general application's, not low-level such that they are interfacing with
Im talking about performing a deep recursion for around 5+ mins, something that you
I'm talking about ivy 2, not some newer version.
Im talking about the menu that shows up when you select a block of
I'm talking about the lines that are in the same visual space as my

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.