Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Canvas
- // @namespace nl.m4rc3lv.canvas
- // @description Canvas UI voor laptop en beamer
- // @include https://fhict.instructure.com/*
- // @require http://www.m4rc3lv.nl/jquery-1.6.4.min.js
- // @resource hacked http://www.m4rc3lv.nl/pix/hacked.gif
- // @version 1
- // @grant none
- // ==/UserScript==
- var bToggle=true;
- $(function(){
- $("#identity-help-container").after("<input title='Toggle side-bar' type=button value='☠' id='MVToggle' />");
- $('#MVToggle').click(function(){
- if(bToggle)
- $("#main").css("margin-right","50px");
- else
- $("#main").css("margin-right","286px");
- bToggle = !bToggle;
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement