SandBox: Difference between revisions
Jump to navigation
Jump to search
m (Link format added blank) |
(added Youtube search in WikifyWeb) |
||
Line 5: | Line 5: | ||
<html> | <html> | ||
<a href="javascript:function ai() { | <a href="javascript:function ai() { | ||
var WikiMap = ['http://google.com/search?q=','https://everipedia.org/wiki/','https://wikipedia.org/wiki/','https://twitter.com/search?q=','https://twitter.com/hashtag/','https://aipedia.eu/wiki/' ], | var WikiMap = ['http://google.com/search?q=','https://everipedia.org/wiki/','https://wikipedia.org/wiki/','https://twitter.com/search?q=','https://twitter.com/hashtag/','https://www.youtube.com/results?search_query=', 'https://aipedia.eu/wiki/' ], | ||
i, j, k, len, llen, link, linkpatt, | i, j, k, len, llen, link, linkpatt, | ||
linkText, linkTextArray = [], msg, myArray, node, txt, href, a, reg, span, | linkText, linkTextArray = [], msg, myArray, node, txt, href, a, reg, span, | ||
Line 31: | Line 31: | ||
link = myArray[0]; | link = myArray[0]; | ||
linkTextArray = [link, ' (e', ' w', ' t', ' h', ' a)']; | linkTextArray = [link, ' (e', ' w', ' t', ' h', ' y', ' a)']; | ||
span.appendChild(document.createTextNode(txt.substring(lastLastIndex, myArray.index))); | span.appendChild(document.createTextNode(txt.substring(lastLastIndex, myArray.index))); | ||
lastLastIndex = linkpatt.lastIndex; | lastLastIndex = linkpatt.lastIndex; |
Revision as of 23:30, 11 March 2018
This is a WikiPage, where users can test out features of a Wiki.
Each Wiki should have such a place for helping new users to test out Wiki features.