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

  • Home
  • SEARCH
  • 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 7536315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T06:32:25+00:00 2026-05-30T06:32:25+00:00

I am developing a web application in Struts2 (JSP). I am using lot of

  • 0

I am developing a web application in Struts2 (JSP).

I am using lot of Javascripts in my pages for dynamic contents like prompts, pop ups, menu bar, etc.

In most of the systems Javascript is blocked by default. This is creating problem like every time while I load my pages, I have to click on allow access to scripts.

In the pages with prompts, I have to give allow access to scripted window on each time when I open that page.

These will irritate the user who will use the application, and I have to use these prompts and scripts (which are highly required).

Is there any way to turn off the automatic script blocking by coding or by any other manner?

Actually what I want is user should not have to face the difficulty to always click allow content.

  • 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-30T06:32:27+00:00Added an answer on May 30, 2026 at 6:32 am

    Browsers do not block scripts by default. If the user has disabled scripting or is running some script blocking software then (as a page author) you cannot bypass it.

    If it was possible, the option would be “Disable scripting unless the page author really, really wants it” and lots of authors would think “I really, really want visitors to see my intrusive advertising that spins and shouts at them”. (As options go, that wouldn’t help the user much!)

    You should follow the design principles of progressive enhancement and unobtrusive JavaScript.

    If you are dealing with a controlled environment (which is plausible if in most of the systems java script is blocked by default) then you may be able to configure the systems to allow JS for the site. This would involve acting as a system administrator rather than a page author. How you do this would depend on the browser / third-party script blocking software. In Internet Explorer, for example, you might place the site in the Intranet Zone and allow JS for all sites in that zone.

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

Sidebar

Related Questions

I use tomcat. I am developing a web application using struts2, and I use
I am using struts2 for developing a web application. I have include the required
Im developing a web application(J2EE,Struts2,JSP,Tomcat) I want to hide the .jsp extension from webpages.
I'm currently developing a web application using Struts2 framework. This application requires to dynamically
I am developing a web application using Struts 2.1.2 and Hibernate 3.2.6.GA. I have
I'm developing a web- application using NHibernate. Can you tell me how to write
I am developing a web application using Struts 1.2.7 I want to print a
I am developing a Java EE web application using Struts. The problem is with
I am developing web application using asp.net, but i want to work on asp
I am developing a web application in struts2. I have declared global properties in

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.