Skip to content

Instantly share code, notes, and snippets.

@thorwe
thorwe / get_app_directory.js
Last active October 12, 2015 12:25
Get Overwolf App Directory (using IO Plugin)
// add 'Extensions' to manifest permission object
// have one of the two IO Plugins available as pluginIO
var getMyWebAppDirectory = function(callback) {
var mypath = pluginIO().LOCALAPPDATA + "\\Overwolf\\Extensions";
var fallback = function() {
var pluginStr = window.location.host;
pluginStr = pluginStr.replace("Window_Extension_", "");
var index = pluginStr.lastIndexOf("_");
@thorwe
thorwe / owtools_windows
Created December 29, 2014 13:17
Overwolf owtools component for windows
(function () {
if (!overwolf)
return;
var global = (function () {return this;}).call(),
ignoreSingleResize = false,
windowTools = {};
windowTools.getMaxWindowSize = function() {
return {
@thorwe
thorwe / init.lua
Last active August 27, 2018 22:14
Teamspeak 3 Channel Join Monitor - Lua script
-- written by https://github.com/thorwe aka philosound in the teamspeak forums
-- Installation:
-- Go to your Teamspeak program folder -> plugins -> lua_plugin
-- Create a new folder, rename it to "notifier"
-- Put this init.lua file in the "notifier" folder
-- Adjust user config below to your needs
-- Start Teamspeak, make sure the lua plugin is enabled in options->plugins
-- Enter the plugin settings, enable the notifier script