-
Notifications
You must be signed in to change notification settings - Fork 2
/
MS-SE-Super-Search.js
1 lines (1 loc) · 2.52 KB
/
MS-SE-Super-Search.js
1
javascript: /*If this doesn't work, allow pop-ups windows, accept third-party cookies, and enable JavaScript. Inspiration: https://www.muo.com/tag/10-ingenious-bookmarklets-to-make-you-a-google-power-user/ */(function(){initialQuery=""+(window.getSelection?window.getSelection():document.getSelection?document.getSelection():document.selection.createRange().text);if(!initialQuery)initialQuery=prompt("Enter your search here to query several Microsoft support docs","");if(initialQuery){query=encodeURIComponent(initialQuery.trim());window.open("https://portal.microsofticm.com/imp/v3/incidents/omnisearch?searchString="+query);window.open("https://github.com/search?q="+query+"&type=issues");window.open("https://github.com/search?q="+query+"&type=discussions");window.open("https://serverfault.com/search?q="+query);window.open("https://stackoverflow.com/search?q="+query);window.open("https://social.msdn.microsoft.com/Forums/en-US/home?category=&forum=&filter=&sort=relevancedesc&brandIgnore=true&searchTerm="+query);window.open("https://www.reddit.com/search?q="+query);window.open("https://support.microsoft.com/en-us/Search/results?query="+query);window.open("https://answers.microsoft.com/en-us/search/search?SearchTerm="+query);window.open("https://docs.microsoft.com/en-us/answers/search.html?c=&includeChildren=&f=&type=question+OR+idea+OR+kbentry+OR+answer+OR+topic+OR+user&redirect=search%2Fsearch&sort=relevance&q="+query);window.open("https://techcommunity.microsoft.com/t5/forums/searchpage/tab/message?advanced=false&allow_punctuation=false&q="+query);window.open("https://www.google.com/search?q="+query);window.open("https://www.bing.com/work/search?q="+query);window.open("https://supportability.visualstudio.com/_search?text="+query+"&type=wiki&pageSize=25");window.open("https://supportability.visualstudio.com/AzureIaaSVM/_search?text="+query+"*&type=wiki&lp=dashboard-Project&pageSize=25");window.open("https://supportability.visualstudio.com/AzureLinuxNinjas/_search?text="+query+"*&type=wiki&lp=dashboard-Project&pageSize=25");window.open("https://docs.microsoft.com/en-us/search/?search="+query);window.open("https://microsoft.sharepoint.com/_layouts/15/search.aspx?q="+query);window.open("https://supportability.visualstudio.com/AzureRapidResponse/_search?text="+query+"&type=wiki&pageSize=25&filters=Project%7BAzureRapidResponse%7D");window.open("https://dev.azure.com/AIPDPlayBook/_search?type=wiki&text="+query+"%2A");window.open("https://teams.microsoft.com/_?culture=en-us&country=us#/apps/a2da8768-95d5-419e-9441-3b539865b118/search?q="+query);}})();