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 CollabVM Autoscroll and CSS | |
// @namespace Ceiridge | |
// @version 1.0 | |
// @description AutoScroll for CollabVM chat and CSS | |
// @author Ceiridge | |
// @match *://computernewb.com/collab-vm* | |
// @grant none | |
// @run-at document-end | |
// ==/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
#include <iostream> | |
#include <string> | |
#include <Windows.h> | |
#include <winternl.h> | |
typedef NTSTATUS(NTAPI* NtCreatePagingFile)( | |
IN PUNICODE_STRING PageFileName, | |
IN PLARGE_INTEGER MinimumSize, | |
IN PLARGE_INTEGER MaximumSize, | |
OUT PLARGE_INTEGER ActualSize OPTIONAL); |
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
// This hooks all functions recursively from window to log all native JavaScript functions | |
// The best way to use this is to inject this script at document-start via TamperMonkey. | |
// Default ignores (should be most likely extended): | |
window.__IGNORE_CALLTREE = new Set(["::requestAnimationFrame", "::getComputedStyle", "document::getElementsByTagName", "::setTimeout", "::clearTimeout", "document::getElementById", "Math::random", "Element.prototype::getAttribute", "::parseFloat", "::parseInt", "CSSStyleDeclaration.prototype::getPropertyValue"]); | |
(function () { | |
// You can ignore methods the following way: | |
// window.__IGNORE_CALLTREE = new Set(); | |
// window.__IGNORE_CALLTREE.add("document::yourMethod"); |