tis-disable-js-chrome

3
Disable Javascript in Chrome
778 downloads
Download

  Description 

  • package : tis-disable-js-chrome
  • version : 3
  • architecture : all
  • categories :
  • maintainer : Steven Samson
  • description : Disable Javascript in Chrome
  • locale :
  • target_os :
  • min_os_version :
  • max_os_version :
  • min_wapt_version :
  • sources :
  • installed_size :
  • impacted_process :
  • description_fr :
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor :
  • licence :
  • signature_date : 2020-02-27T21:29:45.618061

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *

uninstallkey = []

def install():
    #http://www.chromium.org/administrators/policy-list-3#DisabledPlugins
    # For chrome version older than 57
    registry_setstring(HKEY_LOCAL_MACHINE, r'Software\Policies\Google\Chrome\DisabledPlugins', '1','Chrome PDF Viewer')
    registry_setstring(HKEY_LOCAL_MACHINE, r'Software\Policies\Google\Chrome\DisabledPlugins', '2','Chromium PDF Viewer')

    # For chrome version newer than 57
    registry_set(HKEY_LOCAL_MACHINE, r'Software\Policies\Google\Chrome', 'AlwaysOpenPdfExternally',1, REG_DWORD)


def uninstall():
    registry_deletekey(HKEY_LOCAL_MACHINE, r'Software\Policies\Google\Chrome',"DisabledPlugins")
    registry_delete(HKEY_LOCAL_MACHINE, r'Software\Policies\Google\Chrome', "AlwaysOpenPdfExternally")
										

  Changelog 


No changelog
  manifest.sha256 
[["setup.py","c333dab3356076ba68dc2a533f10743b3f4b26b3cdb5d4f52d731d28b8c24c0a"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/wapt.psproj","602f837dd2593d9ce4b1fd8e26f485eae6f5fe53f38129fed2c09062247e9a22"],["WAPT/control","665f951c676ed3c3fae84c1076ed9d93961b3b69c1f9646f95afe86e799b05a5"]]