This file contains 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
var post = $('.threadpost .post'), | |
links = post.find('a'); | |
// Show hidden links | |
links.each(function() { | |
var link = $(this); | |
if(link.text() == '') { |
This file contains 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
// Forum thread | |
if ($('#wordpress-org').length !== 0) { | |
if ($('#thread').length !== 0) { | |
var posts = $('.threadpost .post'); | |
showHiddenLinks(posts); | |
} | |
} | |
// BBadmin |
This file contains 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
// Add the trigger link | |
// $username = Take everything from the last '/' from the profile link | |
// On click of the trigger | |
// $post_content = Grab the contents of the textarea | |
// $post_content = $post_content + ' @' + $username; | |
This file contains 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 Remove emojis & remove gifs | |
// @namespace http://tampermonkey.net/ | |
// @include *://*teams.microsoft.com/* | |
// @version 0.1 | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; |
This file contains 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 WordPress.org New Plugin sock puppet flag | |
// @namespace http://tampermonkey.net/ | |
// @match https://wordpress.org/plugins/browse/* | |
// @grant none | |
// ==/UserScript== | |
var $ = jQuery, | |
ratings = $('.rating-count a'), | |
ratingsValue, |
This file contains 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 WordPress.org Reviews Sort | |
// @description Sorts reviews by the number of replies | |
// @namespace WordPress_reviews_sort | |
// @include *://*wordpress.org/support/forum/reviews/* | |
// @version 1.0.0 | |
// @updateURL https://gist.githubusercontent.com/anevins12/d59e107a163aed5291409e682ebad278/raw/78a80c844723c8fea7edc55fb6b7bbec76bc0fbc/wordpress-sort-reviews.js | |
// @downloadURL https://gist.githubusercontent.com/anevins12/d59e107a163aed5291409e682ebad278/raw/78a80c844723c8fea7edc55fb6b7bbec76bc0fbc/wordpress-sort-reviews.js | |
// @grant none | |
// @author anevins12 |
This file contains 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 Dupe review helper | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Watches out for reviews made by the same IP subnet | |
// @author anevins12 | |
// @match https://wordpress.org/support/topic/* | |
// @grant none | |
// ==/UserScript== |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.26.0/babel.min.js"></script> | |
<script src="//fb.me/react-0.14.3.js"></script> | |
<script src="//fb.me/react-dom-0.14.3.js"></script> | |
<title>I'm amazing act React</title> | |
</head> | |
<body> | |
<div id="wrapper"></div> |
This file contains 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
(function disableFormBrowserValidation() { | |
'use strict'; | |
const $forms = jQuery('form:visible'); | |
$forms.attr('novalidate', ''); | |
})(); |
This file contains 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 Asda removes out of stock groceries | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Makes online shopping easier | |
// @author You | |
// @match https://groceries.asda.com/search/* | |
// @grant none | |
// ==/UserScript== |
OlderNewer