Created
November 15, 2013 08:20
-
-
Save osak/7480919 to your computer and use it in GitHub Desktop.
Virtual ArenaでもC++11が使いたい!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Virtual Arena C++11 Support | |
// @namespace http://www.osak.jp/ | |
// @description Add C++ in language selection box | |
// @include http://rhodon.u-aizu.ac.jp:8080/arena/room.jsp?id=* | |
// @version 1.0 | |
// @grant none | |
// ==/UserScript== | |
function addCpp11() { | |
var select = document.querySelector("select"); | |
select.innerHTML += "<option value=\"C++11\">C++11</option>"; | |
} | |
addCpp11(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment