LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-25-2008, 10:28 AM   #1
298
LQ Newbie
 
Registered: Apr 2007
Distribution: Ubuntu & Debian
Posts: 16

Rep: Reputation: 0
Firefox problem: web server checking Acrobat plugin


My company is using an extremely picky online service for our salary statements. Previously it refused my logon attempts because I was not using Windows and IE. This was easy to circumvent with the "User Agent Switcher". Now it doesn't let me in because it thinks I don't have Acrobat. Is there any way to spoof that? (Actually, I do have Acrobat Reader 8 and the FF plugin is working fine.)

Last edited by 298; 03-25-2008 at 10:30 AM.
 
Old 03-25-2008, 10:41 AM   #2
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
in FireFox:
Edit menu -> Content(tab) -> File types -> Manage
choose PDF and click Change Action
You can then tell FireFox to use a different method to open PDF files
does that answer you question?
 
Old 03-25-2008, 10:49 AM   #3
298
LQ Newbie
 
Registered: Apr 2007
Distribution: Ubuntu & Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Not really. acroread is set to handle pdf files. I don't have a problem with pdf files. It's that Microsoft invested server that refuses service because it thinks I don't have any acrobat reader. When I go to the logon page with FF, it tells me to install Acrobat and refuses logon. If I do that with IE in Windows, everything is fine.
 
Old 03-25-2008, 10:56 AM   #4
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
Are you sure it isn't a problem of browser/os identification?
If I need to use Windows/IE limited web pages I use Konqueror and use Change Browser Identification in the Tools menu.
I'm sure there is an option to do this in FireFox(maybe in about:config?)
 
Old 03-25-2008, 11:44 AM   #5
298
LQ Newbie
 
Registered: Apr 2007
Distribution: Ubuntu & Debian
Posts: 16

Original Poster
Rep: Reputation: 0
Yes, it is some kind of browser identification. As I said, I get around the IE/Windows requirement using a Firefox plugin called "User Agent Switcher." That lets me pretend to be whatever and it's probably the same thing as the Konqueror function that 'ophirg' mentioned. This takes care of the OS/Broswer question.

But after that there is still something else going on where the server asks the client or where the client reports whether it has Adobe Reader or not.

To make this even more clear: the logon page of this service displays a yellow box "System Requirements". As long as they are not met, it won't let me log on. I got around the browser and OS requirements, but now it bugs me about Acrobat Reader.
 
Old 03-25-2008, 12:42 PM   #6
298
LQ Newbie
 
Registered: Apr 2007
Distribution: Ubuntu & Debian
Posts: 16

Original Poster
Rep: Reputation: 0
I started to examine the source of that web page. They're checking the Acrobat Reader version using the java script included below. 'ActiveXObject' sounds a bit too microsoft for my taste...


Code:
// Check Acrobat

var adobe_passed = false;
var adobe_version = 0;
	
var strCtrl = "AcroPDF.PDF.1";

try{
  var objTmp = new ActiveXObject(strCtrl);
  if(typeof(objTmp)=="object")
  {
    adobe_passed = true;
    adobe_version = "7";
    objTmp = null;
  }
}
catch(e) {
}
finally {
}   

if(adobe_passed==false)
{
  strCtrl = "PDF.PdfCtrl.";
  var num;
  for(num=6;num<10;num++)
  {
    try{
      var objTmp = new ActiveXObject(strCtrl+num.toString());
      if(typeof(objTmp)=="object")
      {
        adobe_passed = true;
        adobe_version = num.toString();
        objTmp = null;
        break;
      }
    }
    catch(e) {
    }
    finally {
    }   
  }
}

if(adobe_passed==false){
  document.getElementById("acrobat0").style.display="block";
  failed_test++;
}
else{
  if (adobe_version == "6") {
    document.getElementById("acrobat2").style.display="block";
    failed_test++;
  }
  else { // Don't display message in Adobe 7.0
    //document.getElementById("acrobat1").style.display="block";
  }
}
 
Old 03-25-2008, 01:09 PM   #7
ophirg
Member
 
Registered: Jan 2008
Location: Israel
Distribution: Kubuntu 13.10
Posts: 134

Rep: Reputation: 34
If your service provider is actively forcing you to use software you don't want to use, drop the service provider. You are not the service provider, they are.
You are promoting someone who does something you don't believe in. Paying for someone to limit you is not good policy.
 
Old 08-14-2015, 11:32 AM   #8
kossi
LQ Newbie
 
Registered: Aug 2005
Location: Dresden, Germany
Distribution: Ubuntu, Debian
Posts: 10

Rep: Reputation: 0
just to blow off steam and see if somebody has an idea. exactly same thing here with my bank (bamcomer). these suckers want this stupid adobe reader installed to let me download my bank statements. their answer to my complaint was, well, so download it or don't get your statements. idiots. but however, has meanwhile somebody gotten around this software check, or maybe found a way to send a false flag to their server to pretend that shitty program is installed?
 
Old 08-14-2015, 07:28 PM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,612

Rep: Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649Reputation: 2649
there are still a ton of sites that think "internet Explorer 6" IS great
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Adobe Acrobat 7 - Plugin for Firefox broken apachedude Linux - Software 41 12-28-2006 06:09 PM
Firefox Acrobat plugin eightbits Linux - Software 1 09-18-2005 07:29 AM
Web Server Plugin chrisk5527 Linux - Software 5 12-22-2003 11:21 AM
acrobat pdf plugin kev82 Linux - Software 1 08-21-2003 05:48 PM
newbie: Acrobat Plugin ianunderwood Linux - Software 2 04-15-2003 03:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration