PDA

View Full Version : SB-Innovation.de Force HTTPS greasemonkey script



SealLion
30.09.12, 19:00
Hey everybody :smile:

I made a greasemonkey script for the board to use. It isn't posted on userscripts.org because I'd like to get some feedback on this greasemonkey script. Something is not quite right within the body of the script as it doesn't seem to be working as hoped for. I don't see the 'https//www..." in the URL bar. What you see is just 'www.sb-inovation....."Most of it is correct. After loading this new script into the extension and then testing it out here on the board it doesn't load as expected. You'll see what I mean if you try.

One other thing. I don't take 100 % credit for this script. I did have help and used another script as an aid to follow up on producing this one.

Here is the .txt content of the script. Please give me some feedback.


// ==UserScript==

// @name grant none

// @namespace SB-Innovation.de Force HTTPS 0.10

// @description This will convert sb-innovation.de (http) forum urls to become https

// @include http://www.sb-innovation.de*

// @include http://sb-innovation.de*

// @include https://www.sb-innovation.de*

// @include https://sb-innovation.de*

// @version 0.10

// @copyright SealLion

// ==/UserScript==




If there are no problems that anyone sees with this (even though I think there are. Just can't seem to notice it at the moment, perhaps). Then go ahead and install it.

Remember. This is just the .txt file of the script. You will need to convert it to a .js file and label the script accordingly as per the title I gave it at top within a folder with the same name as the script inside your Greasemonkey scripts folder.

After that, to to your Greasemonkey drop-down menu inside your browser and select "New User Script" Then copy/paste what is here Namespace, Includes (remember, 1 per line) and there are no Excludes that I've given. I don't think there need to be. If help wanted on how to exactly install this script, post here and I"ll help you out. :smile:

anon
30.09.12, 19:32
HTTPS Everywhere is much better for this purpose. JavaScript code may run after some resources are retrieved, which ruins the whole point of a "force SSL" script.

SealLion
30.09.12, 19:40
HTTPS Everywhere is much better for this purpose. JavaScript code may run after some resources are retrieved, which ruins the whole point of a "force SSL" script.

Ya. I agree with you 100 % on HTTPS Everywhere. I just thought.....:gdabs:

Renk
08.11.14, 19:56
HTTPS Everywhere is much better for this purpose. JavaScript code may run after some resources are retrieved, which ruins the whole point of a "force SSL" script.

And what do you think about the NoScript feature for that (Options-> Https - > Behaviour) ?

anon
09.11.14, 03:36
Would need to try that out. I either never did or forgot about its results.