I have this javascript bookmarklet This appends the prompted value to www.oracle.com and opens that url in tab.
javascript:window.location.href='http://www.oracle.com/'+prompt("Please enter your input:", "exadata");
In firefox, this works fine. If I have some open tab with some website, clicking on this bookmark, open the expected site. oracle.com appended with value filled. This also works when I am in new tab and opens oracle url as expected.
But in chrome, this works fine if I have some site loaded in tab and click on this bookmark. But if I am in new tab page, clicking on this bookmark does nothing. It does not even show prompt box.
What I am missing here? Is it something related to how new tab page is handled in firefox and chrome?
chrome://settings/searchEngines
into the address bar. Hit "add" Button. In form addOracle
next field addor
and last field enter'http://www.oracle.com/%s
Click on save button. Now in the address bar typeor
hit space and now type your string you want like in the prompt.