Auto reload a webpage when chrome extension is added - google-chrome-extension

I want to auto - reload a tab with URL, say 'www.example.com' as soon as I add a chrome extension in my browser.
I don't want to reload current tab but another tab with the URL 'www.example.com'.
How can I achieve this?

Related

chromium browser integrated newtab page

I'm working on rebranding chromium browser, and I'm having some trouble to setup default new tab page to the one remotely hosted, something that new Edge browser is already doing. but without using page redirect so when you open new tab, you'll get page loaded from URL like
https://ntp.msn.com/edge/ntp?locale=en&title=New%20tab&dsp=1&sp=Bing&startpage=1&PC=U531
but address bar won't be updated with that URL, it stays empty and ready for search. Does anyone know what are the steps to do this in chromium, what needs to be changed, I would really appreciate it.
Thanks!

Browser Console - How to include javascript code on every page redirect?

Is is possible to load special javascript code (created by me) to my browser console (mozilla firefox) on every redirect page? I want to create a special script-robot, which will be do special actions on some website. For example:
Click button: "Add new advert"
... NOW IS REDIRECT
Write to input[name='title'] advert title
Write to input[name='description'] advert description
Click button: "Add now!"
... NOW IS REDIRECT
Click button: "Logout".
So I want to include my own javascript code to my console and I want automatically reinclude this file on every page redirect. Is is possible?
Thanks.
yes, it is possible. What you would do is create your own google extension with links to a js file to run. Here are some instructions on how to make said extension.

Open Chrome Extension From External Web Page Button Without Clicking The Browser Extension Button

My web page has a login section. I want the extension to open when the user clicks on the login button. Is it possible? I want to open the extension after logging in directly on my web page without clicking the extension button in the browser.

chrome extension css on localhost

I'm working on a chrome extension. The content has a stylesheet content.css. When I run the extension on an external site, it applies the style sheet. When I open a page on my "hello world" page on localhost, it applies the content.css styles initially but the styles go away if I refresh the page and I cannot get them back unless I refresh the extenstion.
Can't figure out why this is but I need to get this resolved.
Thanks,
Ken

how to set default web page while opening new tab in web browser?

I am using Firefox as my default web browser. In that when I opening new tab (Ctrl+T), an empty page (blank page) is being opened. But now I want to load my default page when I open the new tab. Please guide me. Thanks in advance..
I don't think you can do that directly in firefox.
There is however this: https://addons.mozilla.org/en-US/firefox/addon/777/

Resources