Skip to content

Instantly share code, notes, and snippets.

@thorwe
thorwe / get_app_directory.js
Last active Oct 12, 2015
Get Overwolf App Directory (using IO Plugin)
View get_app_directory.js
// 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 Dec 29, 2014
Overwolf owtools component for windows
View owtools_windows
(function () {
if (!overwolf)
return;
var global = (function () {return this;}).call(),
ignoreSingleResize = false,
windowTools = {};
windowTools.getMaxWindowSize = function() {
return {
@thorwe
thorwe / init.lua
Last active Aug 27, 2018
Teamspeak 3 Channel Join Monitor - Lua script
View init.lua
-- 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