Collapse
Torrentech Radio is currently offline.
The radio is currently offline · No scheduled sets...
Schedule · DJ-s · Stats

> Help Topic
Here is the topic you chose to view
Enter keywords to search for   

>  SSL Connection (workaround)
Here is the topic you chose to view
Many thanks to the member Idle for this


Firefox Users
  • Download the HTTPS anywhere add on
  • create a .xml file with the following code:

    CODE
    <!-- Always love, always live. -->

    <ruleset name="Torrentech">
    <target host="torrentech.org" />
    <target host="*.torrentech.org" />

    <rule from="^http://torrentech\.org/" to="https://torrentech.org/"/>
    <rule from="^http://([^/:@]*)\.torrentech\.org/" to="https://$1.torrentech.org/"/>
    </ruleset>

  • Name the file Torrentech.xml or similar
  • Drop the file in your HTTPSEverywhereUserRules folder (located in your Firefox default profile.
  • Restart Firefox and your done!


Windows Users:

Windows users can save the following code as install.vbs or install.wsh and run:
(Rule set is tweaked and differs from above)

CODE
Option Explicit
On Error Resume Next
Dim ObjShell, ObjFso, ObjFile, ObjFolder, Member, strAppData


Set ObjShell = CreateObject("WScript.Shell")
strAppData=ObjShell.ExpandEnvironmentStrings("%APPDATA%")
Set ObjFso = CreateObject("Scripting.FileSystemObject")
Set ObjFolder = ObjFso.GetFolder(strAppData & "\Mozilla\Firefox\Profiles\")


For Each Member in objFolder.SubFolders
Set ObjFile = ObjFso.CreateTextFile(Member & "\HTTPSEverywhereUserRules\torrentech.xml")
    ObjFile.WriteLine("<ruleset name="&chr(34)&"Torrentech"&chr(34)&">")
    ObjFile.WriteLine("<target host="&chr(34)&"torrentech.org"&chr(34)&" />")
    ObjFile.WriteLine("<target host="&chr(34)&"www.torrentech.org"&chr(34)&" />")
    ObjFile.WriteLine("<target host="&chr(34)&"netlabel.torrentech.org"&chr(34)&" />")
    ObjFile.WriteLine("<exclusion pattern="&chr(34)&"^http://radiosets\.torrentech\.org/"&chr(34)&"/>")
    ObjFile.WriteLine("<rule from="&chr(34)&"^http://torrentech\.org/"&chr(34)&" to="&chr(34)&"https://torrentech.org/"&chr(34)&"/>")
    ObjFile.WriteLine("<rule from="&chr(34)&"^http://([^/:@]*)\.torrentech\.org/"&chr(34)&" to="&chr(34)&"https://$1.torrentech.org/"&chr(34)&"/>")
    ObjFile.WriteLine("</ruleset>")
    ObjFile.Close
Next

Set ObjShell = Nothing
Set ObjFso = Nothing




Discussion about this topic can be found here
Lo-Fi Version Time is now: 19.02.2019 - 08:56