Skip to content

Instantly share code, notes, and snippets.

View salimos's full-sized avatar
🇹🇳

SocoM salimos

🇹🇳
View GitHub Profile
var active = false;
function changeRefer(details) {
if (!active) return;
for (var i = 0; i < details.requestHeaders.length; ++i) {
if (details.requestHeaders[i].name === 'Referer') {
details.requestHeaders[i].value = 'http://www.google.com/';
break;
}
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package mp3player;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.logging.Level;
import java.util.logging.Logger;