Skip to content

Instantly share code, notes, and snippets.

View shu8's full-sized avatar

Shubham Jain shu8

View GitHub Profile
@shu8
shu8 / youtubeVideoHider.user.js
Last active January 22, 2019 23:00
Hide YouTube videos (only listen to the audio)
// ==UserScript==
// @name Youtube Video hider (to only listen to audio)
// @namespace http://stackexchange.com/users/4337810/
// @version 1.1
// @description A userscript that hides most of the video content on youtube, so you can listen rather than watch!
// @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/)
// @match *://*.youtube.com/*
// @run-at document-end
// @grant none
// ==/UserScript==
@shu8
shu8 / viewPostsInline.user.js
Created November 22, 2015 17:07
View posts inline
// ==UserScript==
// @name Display linked posts inline!
// @namespace http://stackexchange.com/users/4337810/
// @version 1.0
// @description Adds an arrow to links in posts/comments to expand and show the contents of the post
// @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/)
// @match *://*.stackexchange.com/questions/*
// @match *://*.stackoverflow.com/questions/*
// @match *://*.superuser.com/questions/*
// @match *://*.serverfault.com/questions/*
@shu8
shu8 / SE-Custom-Magic-Links.user.js
Created October 28, 2015 15:45
A userscript that lets you make custom magic links to use in the comments on SE sites
@shu8
shu8 / addAuthorNameInInbox.user.js
Last active October 22, 2015 13:43
Adds the author's name for comments, answers, and edits in the topbar inbox dialog
// ==UserScript==
// @name Add author name to inbox notifications
// @namespace http://stackexchange.com/users/4337810/
// @version 1.0
// @description Adds the author's name for comments, answers, and edits in the topbar inbox dialog
// @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/)
// @match *://*.stackexchange.com/*
// @match *://*.stackoverflow.com/*
// @match *://*.superuser.com/*
// @match *://*.serverfault.com/*
@shu8
shu8 / bounty-count-adder.user.js
Created August 20, 2015 18:00
Adds the number of bounties someone has offered/earned to the tab names on their profile page
// ==UserScript==
// @name Bounty count on user profile page
// @namespace http://stackexchange.com/users/4337810/
// @version 1.0
// @description Adds the number of bounties someone has offered/earned to the tab names on their profile page
// @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/)
// @match *://*.stackexchange.com/users/*
// @match *://*.stackoverflow.com/users/*
// @match *://*.superuser.com/users/*
// @match *://*.serverfault.com/users/*
@shu8
shu8 / se-privs-linkifier.user.js
Last active August 29, 2015 14:27
Converts the divs on the privileges page of every SE site into anchors to make them real links
// ==UserScript==
// @name SE privileges linkifier
// @namespace http://stackexchange.com/users/4337810/
// @version 1.0
// @description Converts the divs on the privileges page of every SE site into anchors to make them
// @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/)
// @match *://*.stackexchange.com/help/privileges
// @match *://*.stackoverflow.com/help/privileges
// @match *://*.superuser.com/help/privileges
// @match *://*.serverfault.com/help/privileges
@shu8
shu8 / area51RevisionsLink.user.js
Created August 5, 2015 13:58
Area51 Revisions Link
@shu8
shu8 / add-asked-date-tooltip.user.js
Created July 23, 2015 11:18
Adds a tooltip to the 'modified'/'answered' parts of questions on the homepage that tells you when the question was asked.
// ==UserScript==
// @name Get asked date
// @namespace http://stackexchange.com/users/4337810/
// @version 1.0
// @description Adds a tooltip to the 'modified'/'answered' parts of questions on the homepage that tells you when the question was asked.
// @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/)
// @match *://*.stackexchange.com/*
// @match *://*.stackoverflow.com/*
// @match *://*.superuser.com/*
// @match *://*.serverfault.com/*
@shu8
shu8 / quick-revision-comment-viewer.user.js
Created July 13, 2015 14:13
Quick Revision Comment Viewer
// ==UserScript==
// @name View revision comments quickly
// @namespace http://stackexchange.com/users/4337810/
// @version 1.0
// @description Adds the latest revision's comment as a tooltip for quick and easy viewing
// @author ᔕᖺᘎᕊ (http://stackexchange.com/users/4337810/)
// @match *://*.stackexchange.com/*
// @match *://*.stackoverflow.com/*
// @match *://*.superuser.com/*
// @match *://*.serverfault.com/*
@shu8
shu8 / side-by-side-editing-for-answers.js
Created July 12, 2015 20:00
answerSideBySideEditing
(function(){
$("#content").width(1360);
$("#post-editor").removeClass("post-editor");
$("#post-editor").width(1360);
$(".community-option").css("float","left");
$(".wmd-container").css("float","left");
$("#wmd-preview").css({"clear":"none","margin-left":"20px","float":"right"});
$('.wmd-button-bar').css('float', 'none');
})()