Created
July 5, 2016 11:19
-
-
Save thebecwar/a287d1b1f45d58d599ca5fbf90f3c148 to your computer and use it in GitHub Desktop.
Switch to tab 2
This file contains hidden or 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 UnclickHome | |
// @namespace NoNamespacePlease | |
// @include /^https?://(.*).stackoverflow\.com/.*/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
$(document).ready(function() { | |
var selTab = $(".selected.intellitab").attr("data-id"); | |
if (selTab == 0) | |
{ | |
$(".intellitab[data-id=2]").click(); | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment