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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:53:19+00:00 2026-05-22T01:53:19+00:00

At my job they use a central login facility on internal webpages. Whenever an

  • 0

At my job they use a “central login” facility on internal webpages. Whenever an internal webpage requires authentication, it forwards you to the central login, and after logging in, it sends you back to the page you were trying to view.

The very first line in the HTML for this central login page starts with this:

<!-- Encoding=ISO-8859-1;

But it never ends the comment, which means that all the HTML code in the whole document is actually commented out. This works fine in IE6 (which is the company standard – eek!), and it used to work in Firefox, but when I upgraded to Firefox 4, this no longer works (as it shouldn’t – it is following standards).

I have saved the source and changed the first line to:

<!-- Encoding=ISO-8859-1; -->

And then the page will display, but since it is loaded from file:///, I can’t submit my credentials to the main server…

I hate using IE6, but for all internal pages I am stuck with it because Firefox renders an empty page every time I get sent to the central login.

Is it possible to create a Firefox addon (or even a Greasemonkey script) to modify the HTML as it is coming into the browser before it gets rendered? I see tons of examples of modifying HTML once it is already loaded, but can’t find anything to manipulate while loading it.

I guess I’m open to other solutions besides an addon, but that was the only thing I could think of. Also, we are not allowed to use Chrome or Safari, so that is out. And no, I cannot talk to the person in charge of the central login page and get them to change it. Proxying would probably be very difficult too because of the nature of the page.

Thanks in advance!

  • 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-22T01:53:20+00:00Added an answer on May 22, 2026 at 1:53 am

    Maybe a local Apache with mod_proxy and mod_subsitute could be used for this? Derived from an example from berkek.com:

    <VirtualHost *>
      ServerAdmin postmaster@yourcorp.com
      ServerName www.yourcompany.com
      <Proxy *>
        Order deny,allow
      </Proxy>
      ProxyRequests on
      ProxyPass / http://www.yourcompany.com/
      ProxyPassReverse / http://www.yourcompany.com/
      AddOutputFilterByType SUBSTITUTE text/html
      Substitute "s|<!-- Encoding=ISO-8859-1;|<!-- Encoding=ISO-8859-1; -->|n"
    </VirtualHost>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a job list. Each job has its own run time. They need
Lately I've been job hunting, and for the most part, they would ask me
My job is the maintain one application which heavy use SQL server (MSSQL2005). Until
I have recently started a new job where they do most everything via Stored
In my new job, they have already written an httphandler to handle all the
I use haml a lot when developing web applications but for the job I
I've been using Tasks and BlockingCollections and they do a great job. But as
Currently when a user in my app creates a new job post they enter
I don't understand how to make a job use the same output directory directory
I have some simple Ruby scripts to run as a background job. They are

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.