AutoClose Chrome chromium website


Well well i was surfing the web and i got some nice websites but …. they are silly opening a silly ads and silly website , i know that there is adsblocker but in some fucking webpage it doesn’t work or it’s blocked by some webmaster!

Solution autoclose extension for chrome chromium ? None that works

userscript? something i found here : http://userscripts-mirror.org/topics/46851 but it doens’t work due to this : dom.allow_scripts_to_close_windows that is not on chrome , INFACT ==>https://productforums.google.com/forum/#!msg/chrome/GjsCrvPYGlA/QkXobdVex94J

but THANK TO THIS ARTICLE i got this silly weird mode to achieve that 😀

STEP 1 CREATE AN AUTOCLOSE HTML PAGE

first of all you need to use an html file with this code so save it on your prefered folder i called /home/shared/autoclosechrome.html

STEP 2 INSTALL THE BLOCK EXTENSION

https://chrome.google.com/webstore/detail/block-site/eiimnmioipafcokbfikbljfdeojpcgbh

STEP 3 GO TO THE SILLY WEBPAGE SO THEY CAN OPEN SOME ADS PAGES

i will call http://www.fuckinadsthatihate.it

STEP 4 RIGHT CLICK AND BLOCK THIS WEBPAGE

screenshot_20161219_233217

STEP 5 OPEN THE BLOCK SITE OPTION

(right click on the extension==>option or just click here chrome-extension://eiimnmioipafcokbfikbljfdeojpcgbh/options.html )

Set “Default redirect page” /home/shared/autoclosechrome.html

screenshot_20161219_233803

STEP 5 THE TRICKY PART

IF YOU USE GOOGLE-CHROME YOU CAN JUST USE THE BROWSER HOW IT IS
FOR CHROMIUM

INSTEAD FOR CHROMIUM :Close chromium and open the webbrowser in this way: THIS MODE OPEN THE BROWSER IN FULLSCREEN AND IT’S A BITWEIRD BUT very nice if you keep surfing a single website!

 

chromium-browser --kiosk  WWW.coolwebsitewithbadads.com

Ok now you should be able to surf and if the website try to open your blocked page chrome will reindirect to your silly javascripted html page that autoclose itself 😀

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: