Commit d80dcfce authored by Edvard Rejthar's avatar Edvard Rejthar

extension works well

parent f0ec24e8
......@@ -30,7 +30,7 @@ user_pref("browser.newtabpage.storageVersion", 1);
user_pref("browser.pagethumbnails.storage_version", 3);
user_pref("browser.places.smartBookmarksVersion", 8);
user_pref("browser.preferences.advanced.selectedTabIndex", 2);
user_pref("browser.privatebrowsing.autostart", true);
//user_pref("browser.privatebrowsing.autostart", true); If enabled, sdk/tabs wont be able to provide tabs[0] or anything.
user_pref("browser.safebrowsing.provider.google.lastupdatetime", "1486578575144");
user_pref("browser.safebrowsing.provider.google.nextupdatetime", "1486580358144");
user_pref("browser.safebrowsing.provider.mozilla.lastupdatetime", "1486578502288");
......@@ -94,7 +94,7 @@ user_pref("pdfjs.previousHandler.preferredAction", 4);
user_pref("places.history.expiration.transient_current_max_pages", 122334);
user_pref("plugin.disable_full_page_plugin_for_types", "application/pdf");
user_pref("privacy.clearOnShutdown.*", true);
user_pref("privacy.clearOnShutdown.openWindows", true);
//user_pref("privacy.clearOnShutdown.openWindows", true); opens two instances of browser
user_pref("privacy.clearOnShutdown.cookies", true);
user_pref("privacy.clearOnShutdown.sessions", true);
user_pref("privacy.clearOnShutdown.siteSettings", true);
......
......@@ -18,7 +18,7 @@ class ScreenshotParser:
def __init__(self, crawl):
screenfile = crawl.cacheDir+'screenshot_base64.txt'
screenfile = crawl.cacheDir+'screenshot.base64'
if os.path.isfile(screenfile):
with open(screenfile,"r+") as f:
data = (b64decode(f.read()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment