[CODE]ScreenSnapr link fixer
It seems lots of people on UC use ScreenSnapr, CyberDwak found out that if you replace /v/ with /e/ it'll show without the advertisement, so credits go to him.
orWaPO.png ‹ ScreenSnapr <- with ad
http://screensnapr.com/e/orWaPO.png <- without ad
So here's the screensnapr link fixer, cba to tidy it up.
Only replaces if its found at the start of the string
Go improve it if you think it's a good waste of ur time =p
orWaPO.png ‹ ScreenSnapr <- with ad
http://screensnapr.com/e/orWaPO.png <- without ad
So here's the screensnapr link fixer, cba to tidy it up.
Code:
#include <windows.h>
#include <ios>
int main()
{
while(1)
{
if(GetAsyncKeyState(VK_LCONTROL)&1)
{
if(OpenClipboard(NULL))
{
char *ha = (char*)GetClipboardData(CF_TEXT);
std::string tmp(ha);
if(!tmp.find("http://screensnapr.com/v/"))
{
memcpy(ha, "http://screensnapr.com/e/", strlen("http://screensnapr.com/e/"));
EmptyClipboard();
SetClipboardData(CF_TEXT, (HANDLE)ha);
}
CloseClipboard();
}
}
Sleep(100);
}
}
Go improve it if you think it's a good waste of ur time =p

