Hack League

Coding Battle – Browser Wars

5th October 2016

In partnership with

Microsoft

Goals

Goals Points
#1 Install the boilerplte extension in Edge +10 pts
#2 Convert the Make page Red extension +25pts
Link to boiler plate code for goals 1 & 2
#3 Create a Translate Page extension +100 pts
#4 Create an extension that counts the number of words on a webpage. The count should appear on an alert box +150 pts
#5 Add context menu functionality to search a word directly in Bing/Google +50 pts
#6 Add configuration page to your extension +50 pts
#7 Create an extension making use of an external API (e.g. doing sentiment analysis on a webpage) +220 pts

Pointers

Boiler plate for #1 & #2: https://aka.ms/hledge

VM: https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/

Edge extension API support: https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/extensions/api-support/

Edge extension guides: https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/extensions/guides/

Extension Toolkit – Porting an extension from Chrome to Microsoft Edge: https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/extensions/guides/porting-chrome-extensions/

API Support (Browser Actions, Context Menu, Cookies): https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/extensions/api-support/supported-apis/

Cognitive Services (External APIs): https://www.microsoft.com/cognitive-services

Sensitivity analysis: https://www.microsoft.com/cognitive-services/en-us/text-analytics-api

Join the next Coding Battle