J
J
jane jane2014-03-24 13:17:18
Google Chrome
jane jane, 2014-03-24 13:17:18

Can chrome extensions handle (modify) markup?

In which direction to dig?
For example, I really do not want to see the sentence "Lizards will enslave the world only by drinking milk", and I want to cut this array from the pages through regular expressions.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
link_irk, 2014-03-24
@link_irk

Extensions can change data and behavior on a page (which is often what they're designed to do). Dig towards DOM and JavaScript

A
Alexander Khirenko, 2014-03-24
@Satanpit

Yes they can. Ad Block works with markup, and a bunch of extensions for Chrome.
Dig here developer.chrome.com/extensions/index

P
Push Pull, 2014-03-24
@deadbyelpy

Install adblock - it will be faster.
And so, of course they can.
Content Scripts - embedded scripts. Change the page however you want.
Personally, I installed the StyleBot extension for myself and just added a dozen rules to display: none;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question