TinyAi12: Difference between revisions

From fridemar.ai
Jump to navigation Jump to search
m (a: here my BookMarklet in Version 1.2. DragAndDrop it into the AdressBarOfYourBrowser.)
m (TA says some agent of WE could enable TA to answer Q's question.)
Line 1: Line 1:
a: here my BookMarklet in Version 1.2. DragAndDrop it into the AdressBarOfYourBrowser.
acts as a BookMarklet and a ChromeUserScript.
 
[[q]] How can TA=TinyAi23 help  in [[ModelConversations]]?
 
[[TA]]  helps as BookMarklet [[a12]] in Version 1.2.  
 
[[q]] How can [[WE]] activate TA?
 
Any BrowserUsingConversant can DragAndDrop TA into the AdressBarOfTheUsedBrowser.
 
Q asks how helps ClickingOnA12 in ModelConversations?
 
TA says JustClickOnTheBookMarklet
 
Q Can TA give more details?
 
TA says some agent of [[WE]] could enable TA to answer Q's question.


<html><a href="javascript:function ai(){var WikiMap=['http://google.com/search?q=','https://aipedia.eu/index.php?title=','https://etherpad.wikimedia.org/p/'],i,j,k,len,llen,link,linkpatt,linkText,linkTextArray=[],msg,myArray,node,txt,href,a,reg,span,lastLastIndex,textNodeXpath,textNodes;textNodeXpath='.//text()[not(ancestor::a) and not(ancestor::head)and not(ancestor::option) and not(ancestor::textarea)]';textNodes=document.evaluate(textNodeXpath,document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);len=textNodes.snapshotLength;reg=/^\s+$/g;linkpatt=/\b(?:([a-z0-9äöü]*(?:[A-ZÄÖÜ_]|_)[a-z0-9äöü_]*){2,})\b/g;for(i=0;i<len;i++){node=textNodes.snapshotItem(i);txt=node.nodeValue;txt=txt.replace(reg,'');if(linkpatt.test(txt)){span=document.createElement('span');lastLastIndex=0;linkpatt.lastIndex=0;try{while(true){myArray=linkpatt.exec(txt);if(!myArray)break;link=myArray[0];linkTextArray=[link,' °',' ¹',' ²',' ³'];span.appendChild(document.createTextNode(txt.substring(lastLastIndex,myArray.index)));lastLastIndex=linkpatt.lastIndex;linkText=myArray[1];link=myArray[0];llen=link.length;if(link.substring(0,2)==''&&link.substring(llen-2,llen)==''){link=link.substring(2,llen-2);}for(j=0;j<Math.min(WikiMap.length,linkTextArray.length);j++){href=WikiMap[j]+link;a=document.createElement('a');a.setAttribute('href',href);a.appendChild(document.createTextNode(linkTextArray[j]));span.appendChild(a);}}span.appendChild(document.createTextNode(txt.substring(lastLastIndex)));node.parentNode.replaceChild(span,node);}catch(e){alert(e);}}}msg='alca enabled with:\n'+'\nMainLink:'+WikiMap[0]+'\n0:'+WikiMap[1]+'\n1:'+WikiMap[2]+'\n2:'+WikiMap[3]+'\n3:'+WikiMap[4]+'\n:'+'\n:'+'Intermediate Webpages:'+'\n:'+document.location;}ai();"><b> => ai 1.2 </b></a>
<html><a href="javascript:function ai(){var WikiMap=['http://google.com/search?q=','https://aipedia.eu/index.php?title=','https://etherpad.wikimedia.org/p/'],i,j,k,len,llen,link,linkpatt,linkText,linkTextArray=[],msg,myArray,node,txt,href,a,reg,span,lastLastIndex,textNodeXpath,textNodes;textNodeXpath='.//text()[not(ancestor::a) and not(ancestor::head)and not(ancestor::option) and not(ancestor::textarea)]';textNodes=document.evaluate(textNodeXpath,document,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null);len=textNodes.snapshotLength;reg=/^\s+$/g;linkpatt=/\b(?:([a-z0-9äöü]*(?:[A-ZÄÖÜ_]|_)[a-z0-9äöü_]*){2,})\b/g;for(i=0;i<len;i++){node=textNodes.snapshotItem(i);txt=node.nodeValue;txt=txt.replace(reg,'');if(linkpatt.test(txt)){span=document.createElement('span');lastLastIndex=0;linkpatt.lastIndex=0;try{while(true){myArray=linkpatt.exec(txt);if(!myArray)break;link=myArray[0];linkTextArray=[link,' °',' ¹',' ²',' ³'];span.appendChild(document.createTextNode(txt.substring(lastLastIndex,myArray.index)));lastLastIndex=linkpatt.lastIndex;linkText=myArray[1];link=myArray[0];llen=link.length;if(link.substring(0,2)==''&&link.substring(llen-2,llen)==''){link=link.substring(2,llen-2);}for(j=0;j<Math.min(WikiMap.length,linkTextArray.length);j++){href=WikiMap[j]+link;a=document.createElement('a');a.setAttribute('href',href);a.appendChild(document.createTextNode(linkTextArray[j]));span.appendChild(a);}}span.appendChild(document.createTextNode(txt.substring(lastLastIndex)));node.parentNode.replaceChild(span,node);}catch(e){alert(e);}}}msg='alca enabled with:\n'+'\nMainLink:'+WikiMap[0]+'\n0:'+WikiMap[1]+'\n1:'+WikiMap[2]+'\n2:'+WikiMap[3]+'\n3:'+WikiMap[4]+'\n:'+'\n:'+'Intermediate Webpages:'+'\n:'+document.location;}ai();"><b> => ai 1.2 </b></a>

Revision as of 14:41, 5 December 2017

acts as a BookMarklet and a ChromeUserScript.

q How can TA=TinyAi23 help in ModelConversations?

TA helps as BookMarklet a12 in Version 1.2.

q How can WE activate TA?

Any BrowserUsingConversant can DragAndDrop TA into the AdressBarOfTheUsedBrowser.

Q asks how helps ClickingOnA12 in ModelConversations?

TA says JustClickOnTheBookMarklet

Q Can TA give more details?

TA says some agent of WE could enable TA to answer Q's question.

=> ai 1.2

( ai: I create MultiLinks for: MainLink=GoogleSearch, 0=AiPedia, 1=MediaWikiEtherpad, in prealpha mostly empty, but helpful for bootstrapping. )