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
/* ==UserStyle== | |
@name TheSerfs.tv Portrait Mode Enabler | |
@namespace github.com/openstyles/stylus | |
@version 1.0.0 | |
@description Adds portait mode layout support to theserfs.tv | |
@author Rohaq | |
==/UserStyle== */ | |
@-moz-document domain("theserfs.tv") { | |
@media (orientation: portrait) { | |
body#bigscreen #bigscreen-layout.chat-right { |
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
function gmailAutoarchive() { | |
let labelRules = { | |
"Autoarchive": [ | |
{ "days": 60, "actions": ["archive", "markread"] } | |
], | |
"Autodelete": [ | |
{ "days": 60, "actions": ["delete"] } | |
], | |
"Label 1": [ | |
{ "days": 30, "actions": ["archive", "markread"] } |
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
SALR.prototype.notifyUserAccessResult = function(result) { | |
this.Platinum = result.Platinum; | |
this.Archives = result.Archives; | |
this.NoAds = result.NoAds; | |
alert(this.Platinum); | |
}; | |
SALR.prototype.getUserAccess = function() { | |
var Platinum = ''; |
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
SALR.prototype.notifyUserAccessResult = function(result) { | |
return result; | |
}; | |
SALR.prototype.getUserAccess = function() { | |
var Platinum = ''; | |
var Archives = ''; | |
var NoAds = ''; | |
var that = this; | |
jQuery.get('/member.php?action=accountfeatures', function(data){ |
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
// Copyright (c) 2009, Scott Ferguson | |
// All rights reserved. | |
// | |
// Redistribution and use in source and binary forms, with or without | |
// modification, are permitted provided that the following conditions are met: | |
// * Redistributions of source code must retain the above copyright | |
// notice, this list of conditions and the following disclaimer. | |
// * Redistributions in binary form must reproduce the above copyright | |
// notice, this list of conditions and the following disclaimer in the | |
// documentation and/or other materials provided with the distribution. |
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
SALR.prototype.getUserAccess = function() { | |
var Platinum = ''; | |
var Archives = ''; | |
var NoAds = ''; | |
jQuery.get('/member.php?action=accountfeatures', function(data){ | |
var PlatRegex = new RegExp('<dt class="(.+?)">Platinum Upgrade</dt>',["i"]); | |
var PlatMatches = PlatRegex.exec(data); | |
if ( PlatMatches != null ) { | |
// alert("Platinum: " + PlatMatches[1]); | |
Platinum = PlatMatches[1]; |
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
SALR.prototype.getUserFeatures = function() { | |
var Platinum = ''; | |
var Archives = ''; | |
var NoAds = ''; | |
jQuery.get('/member.php?action=accountfeatures', function(data){ | |
var PlatRegex = new RegExp('<dt class="(.+?)">Platinum Upgrade</dt>',["i"]); | |
var PlatMatches = PlatRegex.exec(data); | |
if ( PlatMatches != null ) { | |
// alert("Platinum: " + PlatMatches[1]); | |
Platinum = PlatMatches[1]; |