Skip to content

Instantly share code, notes, and snippets.

@MaxySpark
Last active December 6, 2016 10:20
Show Gist options
  • Save MaxySpark/b91abca61d96526969bd567cd8e39ee1 to your computer and use it in GitHub Desktop.
Save MaxySpark/b91abca61d96526969bd567cd8e39ee1 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Astu Btech Syllabus
// @namespace http://maxyspark.com/
// @version 0.1
// @description try to take over the world!
// @author MaxySpark
// @match http://www.astu.org.in/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
//alert("MaxySpark");
var getdiv = document.getElementById("Syllabus");
var getul = getdiv.getElementsByTagName("ul")[0];
var a = document.createElement("a");
var newItem = document.createElement("li");
a.textContent = "BTECH MaxySpark";
a.setAttribute('href', "BtechSyllabus.php");
newItem.appendChild(a);
getul.appendChild(newItem);
getul.getElementsByTagName("li")[2].style.color = "#000000";
})();
@MaxySpark
Copy link
Author

MaxySpark commented May 29, 2016

THIS SCRIPT SHOWS B-Tech Syllabus In ASTU

To use you must install tampermonkey extension

Then create a new script

and delete all content and paste the script

enjoy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment