The Best Cyprus Community

Skip to content


The Classic Browser... at last!

Anything related to the Internet, computers and technology in general.

Re: The Classic Browser... at last!

Postby Get Real! » Wed Jun 27, 2018 7:57 am

Automated User Script Execution

As of v3.8, the Classic browser is now User Programmable which should not be confused with 3rd Party Programmable.

The latter is what we DON’T want to be happening to our browser because we don’t trust that strangers will do the right thing with their so-called “add-ons” but there’s no reason why us users shouldn't be able to perform some script automation ourselves to tame websites even further and make life more pleasant!

For this reason v3.8 now introduces powerful automated script execution but don’t let big words scare you because it’s all done in a way that even a 12 year old can utilize it!

So let’s press on with a few simple examples to demonstrate the usefulness of this feature and how simple it is to set up…


Example #1:

Let’s suppose you want all text, password and email fields to stand out on every website you visit so you want to color them white on red! Here’s how to do it…

In the browser Options look for “User Script Macros” and locate an empty slot.

Step #1: Check the “automated script” check-box.

Step #2: In the "Query Selector" field box paste input[type="text"],input[type="email"],input[type="password"] to indicate what we are targeting.

Step #3: In the "JavaScript" field box paste e.style.background='red'; e.style.color='white';" to indicate how we want to operate.

Step #4: Click [Apply] and [Save]

Now with every website you visit you'll see these fields colored instantly to your liking automatically.


Example #2:

Let’s suppose that you want all text in articles in every website you visit to be of a specific font style and size because it suits your eyes better.

In the browser Options look for “User Script Macros” and locate an empty slot.

Step #1: Check the “automated script” check-box.

Step #2: In the "Query Selector" field box paste p,div,span to indicate what we are targeting.

Step #3: In the "JavaScript" field box paste e.style.font='normal 400 13px "Ms Sans Serif"';" to indicate how we want to operate.

Step #4: Click [Apply] and [Save]

Now with every website you visit you'll see the font change instantly to your liking automatically.


Example #3:

Let’s suppose that you want to prevent all audio and video on every website from playing.

(NB: The Classic already does this one for you automatically but we'll use it as an example anyway)

In the browser Options look for “User Script Macros” and locate an empty slot.

Step #1: Check the “automated script” check-box.

Step #2: In the "Query Selector" field box paste audio,video to indicate what we are targeting.

Step #3: In the "JavaScript" field box paste e.pause(); e.removeAttribute('autoplay');" to indicate how we want to operate.

Step #4: Click [Apply] and [Save]

Now with every website you visit silence will reign supreme as it should automatically!


Example #4:

Let’s suppose that you want to remove those annoying flashing/animating .GIF ads and banners automatically.

(NB: The Classic already does this one for you manually with "Sanitize Page" but we'll use it as an example anyway)

In the browser Options look for “User Script Macros” and locate an empty slot.

Step #1: Check the “automated script” check-box.

Step #2: In the "Query Selector" field box paste img[src$=".gif"] to indicate what we are targeting.

Step #3: In the "JavaScript" field box paste e.style.zIndex='-2147483647';" to indicate how we want to operate.

Step #4: Click [Apply] and [Save]

Now with every website you visit any annoying GIFs will have completely vanished automatically!


Example #5:

Let’s say we want to play a prank on our spouse or friend by making every website display upside down automatically!

In the browser Options look for “User Script Macros” and locate an empty slot.

Step #1: Check the “automated script” check-box.

Step #2: In the "Query Selector" field box paste body to indicate what we are targeting.

Step #3: In the "JavaScript" field box paste e.style.transform='rotateZ(180deg)';" to indicate how we want to operate.

Step #4: Click [Apply] and [Save]

Now your friend or spouse will surely go insane!



So there you have it! Five easy examples of what can be done with a little scripting starting from v3.8, but of course the sky is the limit.

To the best of my knowledge Automated User Script Execution is yet another Classic Browser FIRST, as I don't believe there's another browser on the market that offers such tremendous power to its USERS over websites.


I hope you enjoy using it as much as I enjoyed writing it! :)
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: The Classic Browser... at last!

Postby Get Real! » Fri Jun 29, 2018 2:49 am

The Classic Browser is now officially fully user-programmable...

http://theclassictools.com/Scripts.htm

Although not available for download just yet.

This is a major milestone which sets Internet browsing wide open! :)
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: The Classic Browser... at last!

Postby yialousa1971 » Sun Jul 01, 2018 1:03 am

The Classic Browser has been downloaded. Evaluation underway by Yialousa. :)

Posted using GR's Browser! :P
User avatar
yialousa1971
Main Contributor
Main Contributor
 
Posts: 6256
Joined: Sat Aug 30, 2008 2:55 pm
Location: With my friends on the Cyprus forum

Re: The Classic Browser... at last!

Postby Get Real! » Sun Jul 01, 2018 1:27 am

yialousa1971 wrote:The Classic Browser has been downloaded. Evaluation underway by Yialousa. :)

Posted using GR's Browser! :P

:shock: OMG we’re all gonna die! :lol:
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: The Classic Browser... at last!

Postby yialousa1971 » Sun Jul 01, 2018 2:16 am

Get Real! wrote:
yialousa1971 wrote:The Classic Browser has been downloaded. Evaluation underway by Yialousa. :)

Posted using GR's Browser! :P

:shock: OMG we’re all gonna die! :lol:


YouTube sharing links don't work on your browser! (I know on this forum you need to change the https to http).

Posted using GR's Browser! :P
User avatar
yialousa1971
Main Contributor
Main Contributor
 
Posts: 6256
Joined: Sat Aug 30, 2008 2:55 pm
Location: With my friends on the Cyprus forum

Re: The Classic Browser... at last!

Postby yialousa1971 » Sun Jul 01, 2018 2:19 am

Just to show that I'm using GR's browser. :mrgreen:
You do not have the required permissions to view the files attached to this post.
User avatar
yialousa1971
Main Contributor
Main Contributor
 
Posts: 6256
Joined: Sat Aug 30, 2008 2:55 pm
Location: With my friends on the Cyprus forum

Re: The Classic Browser... at last!

Postby Paphitis » Sun Jul 01, 2018 9:30 am

The 70s netscape retro look suits you Yialoser. :lol:
User avatar
Paphitis
Leading Contributor
Leading Contributor
 
Posts: 32303
Joined: Sun May 21, 2006 2:06 pm

Re: The Classic Browser... at last!

Postby Get Real! » Sun Jul 01, 2018 9:33 am

Paphitis wrote:The 70s netscape retro look suits you Yialoser. :lol:

:? You must be blind...

http://3.bp.blogspot.com/-dy00FZJc7Ic/T ... Screen.jpg

Netscape looks more like Chrome or FF to me!
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

Re: The Classic Browser... at last!

Postby Paphitis » Sun Jul 01, 2018 1:22 pm

Get Real! wrote:
Paphitis wrote:The 70s netscape retro look suits you Yialoser. :lol:

:? You must be blind...

http://3.bp.blogspot.com/-dy00FZJc7Ic/T ... Screen.jpg

Netscape looks more like Chrome or FF to me!


Chrome and FF look nice. As does Opera and Vivaldi is just sooo elegant. All these can be configured to be super security conscious if you want as well.

Yours still has functionality issues, and looks a bit weird...You need to redesign it somehow.

Honestly, I am hoping you get your act together but you got a lot of work to do.
User avatar
Paphitis
Leading Contributor
Leading Contributor
 
Posts: 32303
Joined: Sun May 21, 2006 2:06 pm

Re: The Classic Browser... at last!

Postby Get Real! » Sun Jul 01, 2018 2:10 pm

Paphitis wrote:
Get Real! wrote:
Paphitis wrote:The 70s netscape retro look suits you Yialoser. :lol:

:? You must be blind...

http://3.bp.blogspot.com/-dy00FZJc7Ic/T ... Screen.jpg

Netscape looks more like Chrome or FF to me!


Chrome and FF look nice. As does Opera and Vivaldi is just sooo elegant. All these can be configured to be super security conscious if you want as well.

Yours still has functionality issues, and looks a bit weird...You need to redesign it somehow.

Honestly, I am hoping you get your act together but you got a lot of work to do.

So now that you have finally seen what Netscape looks like… which browser does it resemble the most? :lol:
User avatar
Get Real!
Forum Addict
Forum Addict
 
Posts: 48333
Joined: Mon Feb 26, 2007 12:25 am
Location: Nicosia

PreviousNext

Return to Internet, Computers and Technology

Who is online

Users browsing this forum: No registered users and 0 guests