Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name SelectorPrivado
- // @version 1
- // @include http://190.116.50.7/virtualclass/
- // @grant none
- // ==/UserScript==
- var url = new URL(document.location);
- var ID = url.searchParams.get("ID");
- function selectOption(index){
- document.getElementById("cbo_sede").options.selectedIndex = index;
- }
- if(ID!="") selectOption(ID);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement