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 Goodreads Title & Author copy buttons | |
// @namespace http://tampermonkey.net/ | |
// @version 1.0 | |
// @description Adds one-click buttons to copy title & author(s) on Goodreads book pages | |
// @author RheingoldRiver | |
// @match https://www.goodreads.com/* | |
// @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
.smwb-title, | |
div.smwfact { | |
background-color:var(--table-background); | |
} | |
.smw-table, | |
.smwb-ipropvalue .smwb-prophead, | |
.smwb-center, | |
.smwb-propvalue .smwb-prophead { | |
background-color:var(--zebra-color-2); |
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> | |
<link rel="stylesheet" type="text/css" href="mockup.css"> | |
</head> | |
<body> | |
<div class="sidebar"> | |
<div class="sidebar-close-button"> | |
</div> | |
<div class="sidebar-top-buttons-container"> |
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
.main-section { | |
display: flex; | |
flex-direction: column; | |
width: 1050px; | |
} | |
.main-section-header { | |
background-color: #B1A9A9; | |
} |
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
/* | |
source: https://danielpost.com/articles/making-hugos-footnotes-accessible | |
*/ | |
@keyframes highlight { | |
0% { | |
opacity: 1; | |
} |
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
from mwclient import Site | |
limit = -1 | |
site = Site('https://lol.gamepedia.com', path="/") # Set wiki | |
site.login('RheingoldRiver@BotPasswordName', 'smldrgsrthmldyhj') | |
revisions = 2 # numver of revisions to roll back | |
comment = None # require the comment on the edit you're rolling back to be this | |
print(comment) | |
comment = "fixing toggle" |
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
<DT><H3>Search Keywords - Gamepedia Global</H3> | |
<DL><p> | |
<DT><A href="javascript:%20%20var%20s='%s';%20url='https://%s.gamepedia.com/index.php?search=%s';%20tt=[''];%20j=0;%20qc=0;%20chunks=url.split('%s');%20for(i=0;%20i<s.length;%20i++){%20if(s.charAt(i)=='%22')qc=qc^1;%20if%20(s.charAt(i)=='%20'&&(qc||j>=chunks.length-2))%20{%20tt[j]+=('^');%20}%20else%20if%20(s.charAt(i)=='%20'){%20j++;%20tt.push('%20');%20}%20else%20{%20tt[j]+=(s.charAt(i));%20}%20}%20t%20=%20tt.join('');%20args=t.split(/\s/);%20nurl='';%20for(i=0;%20i<chunks.length;%20i++){%20nurl+=chunks[i];%20%20if(args[i]!=undefined)%20{%20args[i]=args[i].replace(/\^/g,'%20');%20nurl+=args[i];%20}%20}%20location.replace(nurl,'<%20BR>');" SHORTCUTURL="gp">gp</A> | |
<DT><A href="javascript:%20%20var%20s='%s';%20url='https://%s.gamepedia.com/Special:Contributions/%s';%20tt=[''];%20j=0;%20qc=0;%20chunks=url.split('%s');%20for(i=0;%20i<s.length;%20i++){%20if(s.charAt(i)=='%22')qc=qc^1;%20if%20(s.charAt(i)=='%20'&&(qc||j>=chunks.length- |