This file contains hidden or 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 Google Redirect Remover | |
| // @namespace Google Redirect Remover | |
| // @description Stop google links from using their tracking redirect | |
| // @version 1.0.0 | |
| // @include https://*.google.com/* | |
| // @include https://*.google.de/* | |
| // ==/UserScript== |
This file contains hidden or 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
| /** Native NodeJS */ | |
| var http = require('http') | |
| , server = http.createServer(function(req) { | |
| console.log(req.headers['user-agent']); | |
| }); | |
| server.listen(3000, 'localhost'); | |
| /** NodeJS with Express */ | |
| var express = require('express') |