Skip to content

Instantly share code, notes, and snippets.

@nWidart
Last active May 26, 2021 11:14
Show Gist options
  • Save nWidart/746f3f90b7eb708ca724e72e60f8c0b0 to your computer and use it in GitHub Desktop.
Save nWidart/746f3f90b7eb708ca724e72e60f8c0b0 to your computer and use it in GitHub Desktop.
A Script to import into Tampermonkey Chrome extension to open all laravel sidebar items.
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://laravel.com/docs/5.3
// @grant none
// ==/UserScript==
(function() {
'use strict';
$('.sidebar h2').addClass('is-active');
})();
@RcheatsNick
Copy link

// ==UserScript==// @name New Userscript// @namespace http://tampermonkey.net/// @Version 0.1// @description try to take over the world!// @author You// @match https://laravel.com/docs/5.3// @grant none// ==/UserScript==

(function() { 'use strict';
$('.sidebar h2').addClass('is-active');})();

// ==UserScript==// @name New Userscript// @namespace http://tampermonkey.net/// @Version 0.1// @description try to take over the world!// @author You// @match https://laravel.com/docs/5.3// @grant none// ==/UserScript==

(function() { 'use strict';
$('.sidebar h2').addClass('is-active');})();

// ==UserScript==// @name New Userscript// @namespace http://tampermonkey.net/// @Version 0.1// @description try to take over the world!// @author You// @match https://laravel.com/docs/5.3// @grant none// ==/UserScript==

(function() { 'use strict';
$('.sidebar h2').addClass('is-active');})();

// ==UserScript==// @name New Userscript// @namespace http://tampermonkey.net/// @Version 0.1// @description try to take over the world!// @author You// @match https://laravel.com/docs/5.3// @grant none// ==/UserScript==

(function() { 'use strict';
$('.sidebar h2').addClass('is-active');})();

// ==UserScript==// @name New Userscript// @namespace http://tampermonkey.net/// @Version 0.1// @description try to take over the world!// @author You// @match https://laravel.com/docs/5.3// @grant none// ==/UserScript==

(function() { 'use strict';
$('.sidebar h2').addClass('is-active');})();

// ==UserScript==// @name New Userscript// @namespace http://tampermonkey.net/// @Version 0.1// @description try to take over the world!// @author You// @match https://laravel.com/docs/5.3// @grant none// ==/UserScript==

(function() { 'use strict';
$('.sidebar h2').addClass('is-active');})();

// ==UserScript==// @name New Userscript// @namespace http://tampermonkey.net/// @Version 0.1// @description try to take over the world!// @author You// @match https://laravel.com/docs/5.3// @grant none// ==/UserScript==

(function() { 'use strict';
$('.sidebar h2').addClass('is-active');})();

// ==UserScript==// @name New Userscript// @namespace http://tampermonkey.net/// @Version 0.1// @description try to take over the world!// @author You// @match https://laravel.com/docs/5.3// @grant none// ==/UserScript==

(function() { 'use strict';
$('.sidebar h2').addClass('is-active');})();

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