I
I
igorsh082016-07-08 19:04:30
Programming
igorsh08, 2016-07-08 19:04:30

It is necessary that I climb the Internet and add a comment to its code on each page. Specify how to do it through privoxy or squid?

It is necessary that I climb the Internet and add a comment to its code on each page. Specify how to do it through privoxy or squid?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2016-07-08
@igorsh08

https://habrahabr.ru/post/39214/
https://habrahabr.ru/post/129454/

// ==UserScript==
// @name         Add comment
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        *://*/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var body = document.body;
    var comment = document.createComment('***COMMENT***');
    body.appendChild(comment);

})();

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question