Skip to content

Instantly share code, notes, and snippets.

View khanfx's full-sized avatar
🏠
Working from home

Fahd Khan khanfx

🏠
Working from home
  • Jack Henry & Associates
  • Houston, TX
  • X @khanfx
View GitHub Profile
@khanfx
khanfx / xenforo-thread-export.html
Last active September 8, 2016 23:29
Export a xenforo thread or conversation
<html>
<p>
Drag this bookmarklet link to your bookmarks toolbar:
<a href="javascript:void((function() {var element=document.createElement('script'); element.setAttribute('src', 'https://rawgit.com/khanfx/c0ffa60216ef6d152dca15bff91d8273/raw/d77f11daa7af1910dcde74e855301db8e61c36ef/xenforo-thread-export.js'); document.body.appendChild(element)})())">Save Xenforo Thread</a>
</p>
<p>Or check here for <a href='http://www.howtogeek.com/189358/beginner-geek-how-to-use-bookmarklets-on-any-device/'>How to Use a Bookmarklet</a></a></p>
</html>
@khanfx
khanfx / owa-forward.js
Created June 30, 2013 19:00
Forward all email to a destination using nothing but the Outlook Web Access client. Useful when an account is shutting down (say you're graduating), and the IT admins won't export your mail for you. Implemented as a User Script for Tampermonkey and run in Chrome. Several values are hardcoded.
// ==UserScript==
// @name Forward All OWA Webmail
// @namespace https://webmail.uth.tmc.edu/
// @version 0.1
// @description enter something useful
// @match https://webmail.uth.tmc.edu/*
// @copyright 2012+, You
// @grant GM_getValue
// @grant GM_setValue
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js