Thread Tools Display Modes
01-20-15, 05:42 AM   #1
atl77
A Chromatic Dragonspawn
Join Date: Oct 2014
Posts: 179
Originally Posted by nelegalno2 View Post
unless there is a way I don't know about to enforce it from HTML...
One could use a JS script to do just that:

Code:
location.protcol === 'https:' && (location.href = location.href.replace(/^https/i, "http"));
  Reply With Quote
01-20-15, 06:32 AM   #2
nelegalno2
A Flamescale Wyrmkin
Join Date: Dec 2014
Posts: 132
Originally Posted by atl77 View Post
One could use a JS script to do just that:

Code:
location.protcol === 'https:' && (location.href = location.href.replace(/^https/i, "http"));
Now imagine what would happen if you use this and an addon like HTTPS Everywhere ...
or NoScript installed.
  Reply With Quote
01-20-15, 06:43 AM   #3
ircdirk
A Molten Giant
 
ircdirk's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 823
Originally Posted by nelegalno2 View Post
Now imagine what would happen if you use this and an addon like HTTPS Everywhere ...
or NoScript installed.
I think those users are paranoid...
__________________
Carbonite and Carbonite Classic Developer
  Reply With Quote
01-20-15, 06:48 AM   #4
atl77
A Chromatic Dragonspawn
Join Date: Oct 2014
Posts: 179
Being paranoid doesn't mean that everybody isn't out to get you... specifically online. You could extend the script to set a single-session cookie to only try to redirect once in a session and display some warning that the redirect did not work if https is still used afterwards.
  Reply With Quote
01-20-15, 07:30 AM   #5
ircdirk
A Molten Giant
 
ircdirk's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 823
Originally Posted by atl77 View Post
Being paranoid doesn't mean that everybody isn't out to get you... specifically online.
This is bad in both ways, too paranoid is bad and not carring about your securinty online is also bad. Better to be someware in the middle.
__________________
Carbonite and Carbonite Classic Developer
  Reply With Quote
01-20-15, 10:02 AM   #6
nelegalno2
A Flamescale Wyrmkin
Join Date: Dec 2014
Posts: 132
Originally Posted by ircdirk View Post
I think those users are paranoid...
That's the unfortunate side effect from my job, but I think it's better to be a bit paranoid than the alternative.
After all we still haven't enforced the use of Paranoid Android OS @work

[EDIT]
The "Paranoid Android" should have been:
Click image for larger version

Name:	PXBOX.png
Views:	392
Size:	755 Bytes
ID:	8447

Last edited by nelegalno2 : 01-20-15 at 10:19 AM. Reason: Cory Doctorow
  Reply With Quote

WoWInterface » Featured Projects » Carbonite » Carbonite: Dev Talk » DEV: Carbonite Quest Data Uploader


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off