luangruo / classilla

Automatically exported from code.google.com/p/classilla
0 stars 0 forks source link

Site Central #169

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Site Central will be the mitigation framework for rendering starting in 9.3.0. 
This will be separate from Script-B-Gone, which will still handle JavaScript, 
and C-D-Article when this gets off the ground.

Site Central will handle hostname-based automatic controls. If the hostname or 
prefix substring for the site matches, then Site Central sets default style/no 
style, the user agent string, and (this will not be revealed yet) the JS file 
or module to use for content script programming. The substrings are sorted by 
alpha and then by length, with biggest length (more specific) overriding the 
rest.

Site Central should work on these rules:

- There is a global flag (let's call it gSCF) that indicates the current prefix 
and if the default settings are being used.

- When the user changes settings, default settings goes to false so that Site 
Central doesn't mess with it. (They can change them permanently from the Site 
Central window. When they do this, if the site they changed is the current 
prefix, then the settings take effect and default settings is true.)

- When the user goes to a new site, default settings goes to true, the prefix 
is sought in the database. If there is no prefix, default is still true (so 
that Site Central still gets activated), but browser-wide default settings for 
agent and style are used, and no content script is activated.

Original issue reported on code.google.com by classi...@floodgap.com on 12 Oct 2011 at 5:25

GoogleCodeExporter commented 8 years ago
I'm not sure if we will have this for 9.3.1 or 9.3.2.

Original comment by classi...@floodgap.com on 24 Oct 2011 at 7:30

GoogleCodeExporter commented 8 years ago
The first part of this is completed, used to silently rewrite the user-agent 
for Google, which has a ghastly generic mobile page. This will be quietly in 
9.3.0. I thought about overriding this with custom user agents, but really I 
don't think that works well.

Original comment by classi...@floodgap.com on 17 Jan 2012 at 1:17

GoogleCodeExporter commented 8 years ago
Need to expand this for 9.3.1:

all the www.google.com www.google.ca www.google.co.uk etc. sites.

Original comment by classi...@floodgap.com on 25 Feb 2012 at 1:18

GoogleCodeExporter commented 8 years ago
Changed to classilla.sitecontrol.*

There are some default ones. If set to "a" then a generic Classilla/CFM user 
agent is used. If not set, the global default from Preferences is used. If set 
to a string greater than one character, that string becomes the user agent.

For example, by default classilla.sitecontrol.www.google.com causes the generic 
Classilla/CFM user agent to be passed to Google.

Original comment by classi...@floodgap.com on 19 Oct 2012 at 4:08

GoogleCodeExporter commented 8 years ago
Interface will probably have to wait until 9.3.4

Original comment by classi...@floodgap.com on 6 Jan 2013 at 4:29

GoogleCodeExporter commented 8 years ago

Original comment by classi...@floodgap.com on 6 Jan 2013 at 4:30

GoogleCodeExporter commented 8 years ago
If I go to 'preferences ' in the apple menu - there is NO 'user agent'.

I want to go to desktop sites and some do not offer a desktop version,

What do I do?

Original comment by dawnakas...@gmail.com on 29 Jun 2013 at 1:10

GoogleCodeExporter commented 8 years ago
I am using 9.3.2 - this is frustrating to use.

Original comment by dawnakas...@gmail.com on 29 Jun 2013 at 1:12

GoogleCodeExporter commented 8 years ago
The user agent option is located in Classilla's preferences, not the Mac's.

Please note that this is a work list, not a support forum. It is not intended 
for end users.

Original comment by classi...@floodgap.com on 29 Jun 2013 at 7:27

GoogleCodeExporter commented 8 years ago

Original comment by classi...@floodgap.com on 27 Oct 2014 at 12:35