$('table').find('a').each(function() {
var href=$(this).attr('onclick');
href=href.replace("location.href='", '').replace(/'$/g, '');
$(this).attr('href',href);
});
Bookmarklet with https://mrcoles.com/bookmarklet/ : (include jQuery)
$('table').find('a').each(function() {
var href=$(this).attr('onclick');
href=href.replace("location.href='", '').replace(/'$/g, '');
$(this).attr('href',href);
});
Bookmarklet with https://mrcoles.com/bookmarklet/ : (include jQuery)
<html> | |
<style> | |
html { | |
background-color:yellow; | |
} | |
body { | |
margin:0; | |
display:grid; | |
place-items:center; |
anal, beaner, butt-pirate, buttpirate, butt pirate, chode, clit, cock, cuck, cum , cunt, dike, dyke, douche, feget, fag, fudgepacker, fudge packer, gooch, jigaboo, jungle bunny, junglebunny, kike, kooch, kyke, mcfag, nigg, niga, paki, pollock, poon, porch monkey, porchmonkey, queef, queer, rape, rimjob, rim job, ruski, slut, spic, spick, wetback, wet back, hitler, autist, cuck, douche, memes, dank, keemstar. memestar, dramaalert, gaywards, trapbar, isis, sex offender, nazi, distorted, dat boi, tank, harambe, idubbz, spooky scary, chum drum, swamp, shrek, vape nation, porn, pirate, mr krabs, vocaloid, frozen parody, fuck my ass, i'm a hoe, im a hoe, f*ck my a$$, sjw, social justice warrior, 4chan, 9gag, buzzfeed, smash mouth, spiderman & frozen, frozen elsa and spiderman, spiderman and frozen, frozen elsa & spiderman, pussy, smelly poop fart, toy monster, webs & tiaras, allahu akbar, akbar, allahu, taliban, terriorist |
In the console, or in a bookmarklet :
var e = document.createElement('style'), sheet;
document.head.appendChild(e);
s = e.sheet;
s.insertRule('.collection-page-images .pagination-content {grid-template-columns:200px 200px 200px 200px !important}', 0);
Shell in the kobo, from the root :
sqlite3 -header .kobo/KoboReader.sqlite "SELECT ContentID FROM content WHERE BookTitle is null and ReadStatus = 2 ORDER BY Title;" | grep epub | sed 's!file:///mnt/onboard/!!' | while read f; do rm -f "$f"; done
Backup of probably obsolete https://github.com/YOURLS/YOURLS/wiki/Web-Config-IIS
What your web.config file for IIS should look like
If your YOURLS installation is on a IIS machine you have to create a web.config
file. It's simple.
(Mirror of https://github.com/lylebrown/YOURLS-Cherokee in case it goes missing)
What your Cherokee Web Server config for YOURLS, a self-hosted URL shortener, may look like - heavily based off of a guide by Jeff on UtuTech (Link through Wayback Machine)
Edit the user/config.php
file, as detailed on the YOURLS site.
One suggestion is to add 'admin' to the list of reserved URL keywords, to prevent potential issues with URL rewrite rules. Otherwise, the configuration is standard.
Here are real life values of YOURLS_DB_DRIVER people use in their YOURLS config.php (data fetched on April 2022)
DB driver |
---|
gae |
mongodb |
mssql |
mysql |