Hide sidebar

Autohides sidebar and adds a button to toggle view

目前为 2015-01-04 提交的版本。查看 最新版本

// ==UserScript==
// @name           Hide sidebar 
// @namespace      https://gf.qytechs.cn/users/5174-jesuis-parapluie
//
// @description	   Autohides sidebar and adds a button to toggle view
//
// @include        http://*.reddit.com/*
// @include        https://*.reddit.com/*
//
// @require        http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
//
// @grant none 
//
// @version		   0.0.3
// ==/UserScript==

$.noConflict();
jQuery( document ).ready(function( $ ) {
  $(".tabmenu").append($('<li>', {html: '<a href="#">sidebar</a>'}).click(function(){$(".side").toggle()}));
  $(".side").toggle();
});

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址