[nmglug] user agent

Brian O'Keefe okeefe at cybermesa.com
Wed Oct 23 14:44:49 PDT 2019


Thanks Mars. I tried it and it failed.
> $ curl --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; 
> rv:48.0) Gecko/20100101 Firefox/48.0" https://www.liveauctioneers.com
> curl: (35) error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 
> alert protocol version
>
My wife can get to the "classic" liveauctioneers page but if she clicks 
sign in or sign up the next page is the 403 error. I tried changing the 
domain name as there is a "classic" site that I can access and so can 
she until she tries signing in. Tried several variants and most worked 
in a terminal but none of the commands opened a web page. Sorry for 
sending all of this output.
Thanks and here goes. Now it's just an experiment as the MB Air is going 
to Dotfoil (wife is fed up). There are many thousands of lines of code 
beyond this but I wanted to show that at least in a terminal the site 
was reached.

$ curl --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:48.0) Gecko/20100101 Firefox/48.0"https://classic.liveauctioneers.com
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN""http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"  xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
		<title>Bid in Online Auctions - Live Auctioneers</title>

         <meta name="robots" content="noindex, nofollow">
     
     
     <link rel="canonical" href="https://classic.liveauctioneers.com">
     <link rel="next" href="https://classic.liveauctioneers.com/browse/page2">
     <link rel="alternate" media="only screen and (max-width: 640px)" href="https://m.liveauctioneers.com">
	<meta name="description" content="Get in on the auction -- bid LIVE online on art, antiques, jewelry and collectibles. Find online auctions from around the world at Live Auctioneers." />
         
     <meta name="google-site-verification" content="cV8cXXQi_UWIpJ6vc9a0DhF4AJD4HElapx9KBROkGCk" />
	<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />

         <link type="text/css" rel="stylesheet" href="/live_styles/v2171852186/live_styles.css" />        <link rel="shortcut icon" href="https://classic.liveauctioneers.com/live_design/images/favicon.png">
                 <link href="https://fonts.googleapis.com/css?family=Open+Sans:700,300,400&subset=latin,cyrillic-ext"  rel="stylesheet" type="text/css">

                 <script type="text/javascript" src="/live_scripts/v2171852186/jquery-1.7.2.min.js"></script>
         <script type="text/javascript" src="/live_scripts/v2171852186/jquery-ui-1.10.3.custom.min.js"></script>
         <script type="text/javascript" src="/scripts/v2171852186/la.js"></script>
         <script type="text/javascript" src="/scripts/v2171852186/facebox/facebox.js"></script>
         <script type="text/javascript" src="/live_scripts/v2171852186/jquery.placeholder.min.js"></script>
         <script type="text/javascript" src="/live_scripts/v2171852186/scripts.js"></script>
         <script type="text/javascript" src="/scripts/v2171852186/lib/pv2/lib.js"></script>
         <script type="text/javascript" src="/scripts/v2171852186/lib/pv2/main.js"></script>
         <script type="text/javascript" src="https://snapabug.appspot.com/snapabug.js"  async></script>
         <script type="text/javascript" src="/scripts/lib/jquery.dotdotdot.js"></script>
         
         <script type="text/javascript">
             DEFAULT_HOST = 'classic.liveauctioneers.com';
             DEFAULT_PROTOCOL = 'https';
             DEFAULT_SSL_PROTOCOL = 'https';
             RESOURCE_HOST = 'classic.liveauctioneers.com';
             RESOURCE_PROTOCOL = 'https://';
             if( typeof bidderID == 'undefined' ){
                 var bidderID = null;
             }
             dataLayer = [];
                                     GTM_userInfo = [];

             
             function loadAuctionDate(date){
                 var hVal='';
                 var cVal = '';
                 var hId = document.getElementById('auctHouseId') == null ? 'None' : document.getElementById('auctHouseId').value;
                 var cId = document.getElementById('auctCId') == null ? 'None' : document.getElementById('auctCId').value;
                 if(hId!='None'){
                     hVal='/seller/'+hId
                 }else{
                     if(cId!='None')
                         cVal = '/auctions-in-'+cId
                 }
                 if( date == 'All' ){
                     newurl = '/browse'+hVal+cVal;
                     querydata = getQueryData(document.location.href);
                     if (querydata['view'] == 'list') {
                         newurl = appendQueryPair(newurl, 'view', 'list');
                     }
                     window.location = newurl;
                     return true;
                 }
                 var dashorslash = ( hVal=='' && cVal == '' ) ? '/' : '-';
                 newurl = '/browse'+hVal+cVal+dashorslash+date;

                 querydata = getQueryData(document.location.href);
                 if (querydata['view'] == 'list') {
                     newurl = appendQueryPair(newurl, 'view', 'list');
                 }

                 goToUrl(newurl);
             }
             
         </script>


         
                                                 <script type="text/javascript" src="/live_scripts/v2171852186/jquery.vticker.js"></script>
         <script type="text/javascript" src="/live_scripts/v2171852186/slickcustomscroll.js"></script>
         <script type="text/javascript" src="/live_scripts/v2171852186/jquery.jcarousel.min.js"></script>
                 
         <script type="text/javascript">
         function initTicker(){
             var $scroller = $("#scroller");
             $scroller.vTicker('init', {height: 40, showItems: 1});
             $(".next").click(function(event){
                 event.preventDefault();
                 $scroller.vTicker('next', {animate:true});
             });
         }
         $(function(){
             setTimeout(initTicker,1000);
         });
         </script>
         
                 <meta property="fb:app_id" content="143214215739939"/>
         

<script>
     
function loadAuction(){
     var hId = document.getElementById('auctHouseId').value;
     var cId = document.getElementById('auctCId').value;
     var date = document.getElementById('dateSelect').innerHTML;
     var da = date.split('-');
     var dVal='/dateSel'+da[2]+'-'+da[1]+'-'+da[0];
     var hVal='';
     var cVal = '';
     var firstDate = document.getElementById('firstDate').innerHTML;
     var fDate = firstDate.split('-');
     var fVal='/fDate'+fDate[2]+'-'+fDate[1]+'-'+fDate[0];
     
     if(hId!='None')
             hVal='/hId'+hId
     if(cId!='None')
             cVal = '/cId-'+cId
     window.location='/browse'+hVal+cVal+dVal+fVal;
     
}

function highlight_current(obj, li, index, state){
     if(index<0 || index>(0+6) || 0){
         $('#highlight_sel, #highlight_sel_dragger').css('display', 'none');
     } else {
         highlight(0)
         var delay = ( state=='init' ) ? 0 : 400;
         setTimeout(function(){$('#highlight_sel, #highlight_sel_dragger').css('display', 'block');}, delay);
     }
}

function highlight(sel_date){
     var no_days = 7;
     var mod=sel_date%no_days;

     var xpos = 0;

     switch (mod)
     {
         case 0:
           xpos= -10;
           break;
         case 1:
           xpos= 60;
           break;
         case 2:
           xpos= 125;
           break;
         case 3:
           xpos= 190;
           break;
         case 4:
           xpos= 255;
           break;
         case 5:
           xpos= 320;
           break;
         case 6:
           xpos= 385;
           break;
     }

     document.getElementById('highlight_sel').style.left= xpos + 'px';
     document.getElementById('highlight_sel_dragger').style.left= xpos + 'px';
}
function loadHouseAuctions(){
     var hId = document.getElementById('auctHouseId').value;
     switch (hId) {
         case 'showall':
         case 'None':
         case 'none':
             newurl = '/';
             break;

         default:
             newurl = '/browse/seller/'+hId;
     }

     querydata = getQueryData(document.location.href);
     if (querydata['view'] == 'list') {
         newurl = appendQueryPair(newurl, 'view', 'list');
     }

     goToUrl(newurl);
}
function loadCountryAuctions(){
     var cId = document.getElementById('auctCId').value;
     switch (cId) {
         case 'showall':
         case 'None':
         case 'none':
             newurl = '/';
             break;

         default:
             newurl = '/browse/auctions-in-'+cId;
     }

     querydata = getQueryData(document.location.href);
     if (querydata['view'] == 'list') {
         newurl = appendQueryPair(newurl, 'view', 'list');
     }

     goToUrl(newurl);
}

function prevNextDate(val){
     var firstDate = document.getElementById('firstDate').innerHTML;
     var fDate = firstDate.split('-');
     var hVal='';
     var cVal = '';
     var hId = document.getElementById('auctHouseId').value;
     var cId = document.getElementById('auctCId').value;
     if(hId!='None')
             hVal='/hId'+hId
     if(cId!='None')
             cVal = '/cId-'+cId
     window.location='/browse/fDate'+fDate[2]+'-'+fDate[1]+'-'+fDate[0]+hVal+cVal+'/'+val;
         
}

function pageNavigate(pageNum,archiveflg){
     
     var date = document.getElementById('dateSelect').innerHTML;
     var hId = document.getElementById('auctHouseId').value;
     var cId = document.getElementById('auctCId').value;
     var da = date.split('-');
     var hVal='';
     var cVal = '';
         if(hId!='None')
             hVal='/hId'+hId
         if(cId!='None')
             cVal = '/cId-'+cId
     var dVal='/'+date;
     if(archiveflg == 0){
         window.location='/browse/page'+pageNum+hVal+cVal;
     }else if (archiveflg == 1){
         window.location='/browse/page'+pageNum+hVal+cVal+dVal;
     }
}

function initJcarousel(){
     try{
         if( 1 )
             $('#highlight_sel').css('display', 'block');
         $('#mycarousel').css('display', 'block');
         jQuery('#mycarousel').jcarousel({
             start: 0,
             itemVisibleInCallback: {
                 onBeforeAnimation: highlight_current
             }
         });
     }catch(e){}
}


     jQuery(document).ready(function() {
         initJcarousel();
     });
     
</script>
     <script type="text/javascript">

     // <![CDATA[

         jQuery(document).ready(function($) {
             if (window.location.hash == '#signup-1' || window.location.hash == '#setup') window.location.hash = '';

                                 if( location.search.indexOf('openlogin=1') > -1 ) {
                                     $('#loginid').trigger('click');
                             }
                     
             /*if ($('.placeholder').length > 0) {
                                     $('.placeholder').css('color', '#009ddb');
                             }*/

                                                 if (1 == 2) {
                 window.location.hash = 'setup';
                 jQuery.facebox({
                     ajax: '//classic.liveauctioneers.com/sign-up/?url=/&signup_step=1'
                 });







More information about the nmglug mailing list