Last active
June 4, 2019 05:54
-
-
Save abrarfahad/41daaef82ebe9d948ff540081688b86b to your computer and use it in GitHub Desktop.
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 Set Busbd Home | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match *.busbd.com.bd* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
var element=document.getElementById("searchmenu_leavingform"); | |
element.value="14"; | |
// Create a new 'change' event | |
var event = new Event('change'); | |
// Dispatch it. | |
element.dispatchEvent(event); | |
document.getElementById("searchmenu_goingto").value="55"; | |
//document.getElementById("searchmenu_departingon").value="12/06/2018"; | |
document.getElementById("searchmenu_coachtype").value="1"; | |
document.getElementById("searchmenu_submitbutton").click(); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment