<html>
<title>After Bookmark Export Management - RJM Programming - July, 2024</title>
<style>
#bmkdata {
background-color: #f0f0f0;
}

#mytable {
background-color: pink;
}

#resulting {
background-color: #d0d0d0;
}
</style>
<script type=text/javascript>
var ulli=true, utable=false, locationhref='', xlocationhref='', locationhash='', firstgo=true, recipient='';
var mysubject='My Bookmarked Links ...';
if (('' + location.hash).indexOf('bmkdata=') != -1) { locationhash=location.hash; }

function doemail() {
if (document.getElementById('bmkdata').value.trim() != '') {
locationhash='#bmkdata=' + window.btoa(encodeURIComponent(document.getElementById('bmkdata').value));
mysubject='My Bookmarked Links ...';
if (document.getElementById('dtone').value.trim() != '' && document.getElementById('dttwo').value.trim() != '') {
mysubject='My Bookmarked Links from ' + document.getElementById('dtone').value.trim() + ' to ' + document.getElementById('dttwo').value.trim() + ' ... ';
} else if (document.getElementById('dtone').value.trim() != '') {
mysubject='My Bookmarked Links from ' + document.getElementById('dtone').value.trim() + ' ... ';
} else if (document.getElementById('dttwo').value.trim() != '') {
mysubject='My Bookmarked Links up until ' + document.getElementById('dttwo').value.trim() + ' ... ';
}
if (ulli && !utable) {
recipient=prompt('Please enter email address to send to? Will output UL/LI else if some blanks will output Table. Default email Subject is ' + mysubject + ' ... but if you want a different one append a hash (#) followed by your own Subject for the Email.', '');
if (recipient == null) { recipient=''; } else if (recipient.indexOf('@') == -1) { recipient=''; } else if (eval('' + recipient.indexOf('#')) > eval('' + recipient.indexOf('@'))) { mysubject=recipient.split('#')[1]; recipient=recipient.split('#')[0]; }
if (recipient.indexOf(' ') != -1) {
locationhref=document.URL.split('?')[0].split('#')[0] + '?table=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
} else {
locationhref=document.URL.split('?')[0].split('#')[0] + '?ulli=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
}
xlocationhref=locationhref;
if (recipient.trim() != '') {
if (1 == 1) {
processit();
} else {
document.getElementById('spareshare').href='mailto:' + recipient.replace(/\ /g,'') + '?subject=' + encodeURIComponent(mysubject) + '&body=' + encodeURIComponent(locationhref + locationhash);
document.getElementById('spareshare').click();
recipient='';
}
}
} else if (utable) {
recipient=prompt('Please enter email address to send to? Will output UL/LI else if some blanks will output Table. Default email Subject is ' + mysubject + ' ... but if you want a different one append a hash (#) followed by your own Subject for the Email.', '');
if (recipient == null) { recipient=''; } else if (recipient.indexOf('@') == -1) { recipient=''; } else if (eval('' + recipient.indexOf('#')) > eval('' + recipient.indexOf('@'))) { mysubject=recipient.split('#')[1]; recipient=recipient.split('#')[0]; }
if (recipient.indexOf(' ') != -1) {
locationhref=document.URL.split('?')[0].split('#')[0] + '?table=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
} else {
locationhref=document.URL.split('?')[0].split('#')[0] + '?ulli=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
}
xlocationhref=locationhref;
if (recipient.trim() != '') {
if (1 == 1) {
processit();
} else {
document.getElementById('spareshare').href='mailto:' + recipient.replace(/\ /g,'') + '?subject=' + encodeURIComponent(mysubject) + '&body=' + encodeURIComponent(locationhref + locationhash);
document.getElementById('spareshare').click();
recipient='';
}
}
}
}
}

function dosms() {
if (document.getElementById('bmkdata').value.trim() != '') {
locationhash='#bmkdata=' + window.btoa(encodeURIComponent(document.getElementById('bmkdata').value));
if (ulli && !utable) {
recipient=prompt('Please enter SMS number to send to? Will output UL/LI else if some blanks will output Table.', '');
if (recipient == null) { recipient=''; } else if (recipient.trim() != '' && recipient.trim().replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') != '') { recipient=''; }
if (recipient.indexOf(' ') != -1) {
locationhref=document.URL.split('?')[0].split('#')[0] + '?table=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
} else {
locationhref=document.URL.split('?')[0].split('#')[0] + '?ulli=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
}
xlocationhref=locationhref;
if (recipient.trim() != '') {
if (1 == 1) {
processit();
} else {
document.getElementById('spareshare').href='sms:' + recipient.replace(/\ /g,'') + '&body=' + encodeURIComponent(locationhref + locationhash);
document.getElementById('spareshare').click();
recipient='';
}
}
} else if (utable) {
recipient=prompt('Please enter SMS number to send to? Will output UL/LI else if some blanks will output Table.', '');
if (recipient == null) { recipient=''; } else if (recipient.trim() != '' && recipient.trim().replace(/0/g,'').replace(/1/g,'').replace(/2/g,'').replace(/3/g,'').replace(/4/g,'').replace(/5/g,'').replace(/6/g,'').replace(/7/g,'').replace(/8/g,'').replace(/9/g,'') != '') { recipient=''; }
if (recipient.indexOf(' ') != -1) {
locationhref=document.URL.split('?')[0].split('#')[0] + '?table=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
} else {
locationhref=document.URL.split('?')[0].split('#')[0] + '?ulli=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
}
xlocationhref=locationhref;
if (recipient.trim() != '') {
if (1 == 1) {
processit();
} else {
document.getElementById('spareshare').href='sms:' + recipient.replace(/\ /g,'') + '&body=' + encodeURIComponent(locationhref + locationhash);
document.getElementById('spareshare').click();
recipient='';
}
}
}
}
}

function analyze(tao) {
if (tao.value.trim() != '') {
document.getElementById('ulli').disabled=false;
document.getElementById('utable').disabled=false;
document.getElementById('semail').style.display='inline-block';
document.getElementById('ssms').style.display='inline-block';
}
}

function checkitout() {
//if (!ulli) { alert(1); utable=true; } else { alert(2); utable=false; }
if (('' + document.title + 'x').substring(0,1) == '*') { ulli=false; utable=true; } else { utable=false; ulli=true; }
if (document.getElementById('bmkdata').value.trim() != '') {
//alert('ulli=' + ulli + ' and utable=' + utable);
if (ulli && !utable) {
locationhash='#bmkdata=' + window.btoa(encodeURIComponent(document.getElementById('bmkdata').value));
locationhref=document.URL.split('?')[0].split('#')[0] + '?ulli=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
processit();
} else if (utable) {
//alert(98);
locationhash='#bmkdata=' + window.btoa(encodeURIComponent(document.getElementById('bmkdata').value));
locationhref=document.URL.split('?')[0].split('#')[0] + '?utable=y&dtone=' + encodeURIComponent(document.getElementById('dtone').value) + '&dttwo=' + encodeURIComponent(document.getElementById('dttwo').value); // + '#bmkdata=' + encodeURIComponent(document.getElementById('bmkdata').value);
processit();
}
}
return false;
}

function processit() {
var dfactor=1, thisd=0;
var odtone=null, odttwo=null;
var hrefdelim=' href=', nextchar='', isokay=true, withinstart=-1, withinend=Math.floor(eval(0 + eval('' + (new Date()).getTime())) / dfactor);
var rout='';
if (('' + locationhash).indexOf('bmkdata=') != -1) {
if (('' + location.search + locationhref).indexOf('ulli=') != -1) { ulli=true; }
if (('' + location.search + locationhref).indexOf('table=') != -1) { utable=true; }
var lhbit=decodeURIComponent(window.atob(('' + locationhash).split('bmkdata=')[1]));
var adddates=('' + lhbit).split(' ADD_DATE=');
if (eval('' + adddates.length) > 1) {
nextchar=(adddates[1].substring(0,1) == '"' ? '"' : (adddates[1].substring(0,1) == "'" ? "'" : ' '));
if (nextchar.trim() == '') {
nextchar=' ';
addhrefs=('' + lhbit).replace(/\>/g,nextchar + '>').split(hrefdelim + nextchar);
} else {
adddates=('' + lhbit).split(' ADD_DATE=' + nextchar);
}
if (eval('' + adddates.length) > 1) {
var onetime=adddates[1].split(nextchar)[0];
//alert('onetime=' + onetime + ' and withinend=' + withinend);
while (eval(('' + withinend).length) > eval('' + onetime.length)) {
dfactor*=10;
withinend=Math.round(eval(withinend / 10));
//alert('Onetime=' + onetime + ' and Withinend=' + withinend);
}
}
if (lhbit.indexOf(' HREF=') != -1) {
hrefdelim=' HREF=';
} else if (lhbit.indexOf(' Href=') != -1) {
hrefdelim=' Href=';
}
}
var addhrefs=('' + lhbit).split(hrefdelim + nextchar);
var dtone=('' + location.search + locationhref).split('dtone=')[1] ? decodeURIComponent(('' + location.search + locationhref).split('dtone=')[1].split('&')[0]) : '';
var dttwo=('' + location.search + locationhref).split('dttwo=')[1] ? decodeURIComponent(('' + location.search + locationhref).split('dttwo=')[1].split('&')[0]) : '';
if (dtone.trim() != '') {
odtone=new Date(dtone);
withinstart=Math.floor(eval(0 + eval('' + odtone.getTime())) / dfactor);
}
if (dttwo.trim() != '') {
odttwo=new Date(dttwo);
withinend=Math.floor(eval(0 + eval('' + odttwo.getTime())) / dfactor);
}
//alert('dtone=' + dtone + ' and dttwo=' + dttwo + ' and withinstart=' + withinstart + ' and withinend=' + withinend);
ulli=('' + location.search + locationhref).split('ulli=')[1] ? true : false;
utable=('' + location.search + locationhref).split('table=')[1] ? true : false;
for (var ij=1; ij<addhrefs.length; ij++) {
thisd=0;
if (eval('' + adddates.length) > 1) {
thisd=eval('' + adddates[ij].split(nextchar)[0]);
}
if (thisd >= withinstart && thisd <= withinend) {
if (rout == '') {
if (ulli && !utable) {
rout='<h2><details title="Click me to see actual links displayed and actionable." style=display:inline-block; onclick=fillin(); id=rd><summary id=rs>Results</summary></details><span> below ...</span></h2><br><textarea id=rt><ul>' + String.fromCharCode(10) + '</ul></textarea><br><hr></hr>';
} else if (utable) {
rout='<h2><details title="Click me to see actual links displayed and actionable." style=display:inline-block; onclick=fillin(); id=rd><summary id=rs>Results</summary></details><span> below ...</span></h2><br><textarea id=rt><table>' + String.fromCharCode(10) + '</table></textarea><br><hr></hr>';
}
}
isokay=true;


if (isokay) {
if ((ulli && !utable) || xlocationhref.indexOf('ulli=') != -1) {
rout=rout.replace('</ul>', '<li><a target=_blank title="' + addhrefs[ij].split('>')[1].split('</')[0].replaceAll(/\<\;.*\>\;/g, "").replace(/\"/g,'`').replace(/\</g,'<').replace(/\>/g,'>') + '" href="' + addhrefs[ij].split(nextchar)[0] + '">' + addhrefs[ij].split('>')[1].split('</')[0].replaceAll(/\<\;.*\>\;/g, "").replace(/\</g,'<').replace(/\>/g,'>') + '</a></li>' + String.fromCharCode(10) + '</ul>')
} else if (utable || xlocationhref.indexOf('table=') != -1) {
rout=rout.replace('</table>', '<tr><td><a target=_blank title="' + addhrefs[ij].split('>')[1].split('</')[0].replaceAll(/\<\;.*\>\;/g, "").replace(/\"/g,'`').replace(/\</g,'<').replace(/\>/g,'>') + '" href="' + addhrefs[ij].split(nextchar)[0] + '">' + addhrefs[ij].split('>')[1].split('</')[0].replaceAll(/\<\;.*\>\;/g, "").replace(/\</g,'<').replace(/\>/g,'>') + '</a></td></tr>' + String.fromCharCode(10) + '</table>')
}
}
}
}
//alert(withinend + ' ... more to do ' + addhrefs.length + ' ' + locationhref);
if (rout != '') {
document.getElementById('resulting').innerHTML=rout;
if ((ulli && !utable) || xlocationhref.indexOf('ulli=') != -1) {
document.getElementById('resulting').title='Web browser Bookmark export content filtered, as necessary, here, into Unordered List (you could copy/paste) ...';
} else if (utable || xlocationhref.indexOf('table=') != -1) {
document.getElementById('resulting').title='Web browser Bookmark export content filtered, as necessary, here, into Table (you could copy/paste) ...';
}
if (recipient != '') {
if (recipient.indexOf('@') != -1) {
document.getElementById('spareshare').href='mailto:' + recipient.replace(/\ /g,'') + '?subject=' + encodeURIComponent(mysubject) + '&body=' + encodeURIComponent(xlocationhref.split('?')[0].split('#')[0] + '#bmkdata=' + encodeURIComponent(rout));
document.getElementById('spareshare').click();
recipient='';
} else {
document.getElementById('spareshare').href='sms:' + recipient.replace(/\ /g,'') + '&body=' + encodeURIComponent(xlocationhref.split('?')[0].split('#')[0] + '#bmkdata=' + encodeURIComponent(rout));
document.getElementById('spareshare').click();
recipient='';
}
}
} else {
document.getElementById('resulting').innerHTML='Sorry ... nothing found.<br><br>';
}
}
xlocationhref='';
}

function fillin() {
if (document.getElementById('rt') && document.getElementById('rd') && document.getElementById('rs')) {
if (document.getElementById('rd').innerHTML == document.getElementById('rs').outerHTML) {
document.getElementById('rd').innerHTML=document.getElementById('rs').outerHTML + document.getElementById('rt').value;
}
}
}

function yesthreethree(restis) {
if (document.getElementById('bmkdata')) {
if (restis.indexOf('data:') == 0) {
if (restis.indexOf(';base64,') != -1) {
document.getElementById('bmkdata').value='' + window.atob(restis.split(';base64,')[1]);
analyze(document.getElementById('bmkdata')); //document.getElementById('bmkdata').blur();
} else if (restis.indexOf(';utf8,') != -1) {
document.getElementById('bmkdata').value='' + (restis.split(';utf8,')[1]);
analyze(document.getElementById('bmkdata')); //document.getElementById('bmkdata').blur();
}
} else {
document.getElementById('bmkdata').value=restis;
analyze(document.getElementById('bmkdata')); //document.getElementById('bmkdata').blur();
}
}
}


if (document.URL.replace('table=', 'ulli=').indexOf('ulli=') != -1) {
processit();
}

if (document.URL.indexOf('?') == -1 && ('' + location.hash).indexOf('bmkdata=') != -1) {
setTimeout(function(){
document.getElementById('resulting').innerHTML=decodeURIComponent(('' + location.hash).split('bmkdata=')[1]).replace('><summary', ' open><summary').replace('<details title=', '<details data-title=');
fillin();
}, 5000);
}
</script>
<body>
<h1>After Bookmark Export <iframe scrolling=no frameborder=0 id=cbi data-style='border-top:1px solid black;border-bottom:1px solid black;border-left:2px solid yellow;border-right:1px solid yellow;' style='width:173px;height:228px;margin-top:-194px;' src='/HTMLCSS/client_browsing.htm?totype=html&d=189786754'></iframe> Management <button style=display:none; title='Share via Email' id=semail onclick="doemail('');">📧</button> <button style=display:none; title='Share via SMS' id=ssms onclick=dosms();>📟</button></h1>
<h3>RJM Programming - July, 2024</h3>
<div id=resulting></div>
<form method=GET onsubmit="setTimeout(checkitout,2000); return false;" action="./dated_bookmarks.html">
<br>
<table id=mytable border=8 cellpadding=5 cellspacing=5>
<tr><th colspan=2>Export Date Range of Relevance (optional)</th></tr>
<tr><th>From</th><th>To</th></tr>
<tr><td><input type=datetime-local id=dtone value='' placeholder='Start datetime' name=dtone></input></td><td><input type=datetime-local id=dttwo value='' placeholder='End datetime' name=dttwo></input></td></tr>
</table>
<br><br><textarea title="Web browser Bookmark export content here ..." style="width:90%;height:250px;" placeholder="Bookmark export data goes here ..." name=bmkdata id=bmkdata onblur="analyze(this);"></textarea>
<br><br><br><input style=background-color:yellow; ontouchstart="ulli=true; document.title='' + document.title.trim(); utable=false; document.title='' + document.title.trim().replace(/^\*/g,''); " onmousedown="ulli=true; document.title='' + document.title.trim().replace(/^\*/g,''); utable=false;" onmouseover="ulli=true; document.title='' + document.title.trim().replace(/^\*/g,''); utable=false;" type=submit value="UL/LI" id=ulli name="ulli" disabled></input> <input style=background-color:orange; data-onclick="ulli=false; utable=true; document.title='*' + document.title.trim(); checkitout();" ontouchstart="ulli=false; utable=true; document.title='*' + document.title.trim();" onmousedown="ulli=false; utable=true; document.title='*' + document.title.trim(); " onmouseover="ulli=false; utable=true; document.title='*' + document.title.trim(); " type=submit value="Table" id=utable name="utable" disabled></input>
</form>
<input type=hidden id=cfrom value=''></input><input type=hidden id=cto value=''></input><input type=hidden id=outputname value=''></input><input type=hidden id=thewords value=''></input><input type=hidden id=saysub value=''></input><input type=hidden id=resultout value=''></input><input type=hidden id=resJUNKult value=''></input><input type=hidden id=audioname value=''></input>
<a target=_top id=spareshare href='' style=display:none;>Email/SMS</a>
</body>
</html>