Javascript DOM-Modify html via chrome extension - google-chrome-extension

I am a beginner with dom and now I am trying via a chrome extension to modify the a generic page html elements.
I've searched about it but didn't find anything concrete that could help me solve this.
Do i need to add something to the manifest.json file to be able to do this?
Thanks in advance!

Related

Is there a chrome API for viewing contents of open sites?

Im looking for a way to read the source only of open tabs on my browser, specifically music.apple.com. What chrome api should I use for this? Ive been searching around their docs but couldn't find anything that looks like what I need.

chrome extension to read the content of gmail attachment (pdf)

I am writing a chrome extension, would like to know how to read the attachment programmatically, have searched in SO and in Google.
Does anybody know how I can do this? thanks in advance

Preloading web pages

I want to write a module? an addon? a plugin? an extension? to a web browser, which will preload all web pages by links, which could be found on a "current" web page - a web page on which user is currently on. After, if user want to switch to some other web page by a link from "current", browser should just open that preloaded page from somewhere, where we store preloaded pages, and do the same actions from new " current ". So, the question is, which of above variants (module? an addon? a plugin? an extension?) could solve my problem, (because as I understand, some of them can have limited functions), or maybe I have to edit the source code of browser, and which browser would you suggest to work with? And if you know any information source, which could help me in understanding how to implement it, I'd be grateful if you post a link! (I'd really appreciate a full answer, because I didn't found much info on the internet about this theme). Thank you!

is it possible to get inline css in chrome extension

I am developing a chrome extension and I wanted to know if there is a way to get inline css in chrome extension development. I also wanted updated inline css if someone updated it ? Please help me if anyone have an answer. I have tried chrome.devtools.inspectedWindow and able to get current and updated css files but not inline css.

Programmatic way to search a page for the user in a browser

I am working on a search engine project that will point a user to a page from, say Google, and show them where their search terms are in the document. Most of us search Google and know that sometimes you have to CTRL-F to find where that word appeared on the page (especially on long pages). I know some browser plug-ins can help with this - but is there a way to wrap the page in a frame and do it (even if you don't control the site being displayed)?
If not, what browser plug-ins might you recommend that I could customize & brand so the user can accomplish this task? I'm guessing you could also write a Kinitex plug-in or GreaseMonkey script - but I'd prefer to not go any route that a newbie user wouldn't immediately understand.
Thanks in advance for your help!
You can get source code of the page with curl, add javascript function to it and then pass result to the user. Just like server-side GreaseMonkey. :)
In google Chrome try Google Quick Scroll, it does it.

Resources