Skip to content

Commit

Permalink
v1.0.9.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
andryou committed Dec 12, 2017
2 parents 7a04ccb + eecbf7d commit a4999de
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 2,347 deletions.
1 change: 1 addition & 0 deletions html/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ <h4 id="sectionname">General Settings</h4>
<tr><td class="col-sm-4"><label for="useragentspoof" class="i18_useragentspoof">User-Agent Spoof:</label></td><td><select id="useragentspoof" class="savechange form-control">
<option value="off" class="i18_off">-Off-</option>
<option value="custom" class="i18_custom">Custom</option>
<option value="chrome63">Chrome 63.0.3239.84</option>
<option value="chrome62">Chrome 62.0.3202.94</option>
<option value="chrome55">Chrome 55.0.2883.87</option>
<option value="chrome50">Chrome 50.0.2661.102</option>
Expand Down
24 changes: 20 additions & 4 deletions html/updated.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,33 @@
</div>
<hr>
<div class="panel panel-success">
<div class="panel-heading"><h3>Updated to v<span id="versionno"></span>! (_, December _, 2017)</h3></div>
<div class="panel-heading"><h3>Updated to v<span id="versionno"></span>! (Tuesday, December 12, 2017)</h3></div>
<div class="panel-body">
<div class="alert alert-warning"><p><strong>ScriptSafe is on <a href="https://chrome.google.com/webstore/detail/scriptsafe/oiigbmnaadbkfbmpbfijlflahbdbdgdf" target="_blank">Chrome</a>, <a href="https://addons.opera.com/en/extensions/details/scriptsafe-2/" target="_blank">Opera</a>, and now: <a href="https://addons.mozilla.org/firefox/addon/script-safe/" target="_blank">Firefox</a>!</strong></p><p>My sincere thanks to all testers, translators, and users for your support over the past 6 years.</p></div>
<p>In this release you will find the following updates:</p>
<ul>
<li><strong>v1.0.9.6:</strong><ul>
<li>Added ability to selectively allow Browser Plugins Enumeration</li>
<li>Added ability to temporarily disable ScriptSafe via the panel</li>
<li>Added the ability to revert to default settings (found under "Import / Restore Settings")</li>
<li>Added new "Recent Log" page where you can view all recently blocked or allowed items (the "Log" link can be found in the top-right corner of the ScriptSafe panel)</li>
<li>Added the ability to block Browser Plugin Enumeration (under Fingerprint Protection, option is disabled by default so feel free to enable it)</li>
<li>Added the ability to block Bluetooth Enumeration (under Fingerprint Protection, option is disabled by default so feel free to enable it)</li>
<li>Added ability to control whether or not Remove Possible Hash Tracking applies to whitelisted sites or not (default: disabled)</li>
<li>Added ability to control the Keyboard Fingerprinting Protection keypress delay</li>
<li>Added more browser and operating systems for User Agent Spoofing (thanks nyancat18)</li>
<li>Added ability to randomize user agents: on every request or every x minutes</li>
<li>Minor panel tweaks</li>
<li>Minor user agent fix</li>
<li>Improved Browser User Agent Spoofing and added ability to enter a custom user agent string</li>
<li>Improved WebGL Fingerprint Protection</li>
<li>Improved Clipboard Interference Protection</li>
<li>Improved domain matching logic</li>
<li>Improved syncing reliability and added data compression (for when/if Opera introduces extension data syncing like Chrome)</li>
<li>Fixed "Trust" option not being available for domains starting with a wildcard match</li>
<li>Added Polish locale (thanks Galileusz)</li>
<li>Minor updates to German, Japanese, Chinese (Traditional), and Spanish locales</li>
<li>Updated unwanted content providers list</li>
<li>Minor panel updates</li>
<li>Minor panel tweaks</li></li>
<li>Minor user agent fix</li>
</ul></li>
</ul>
<p>I have put together <a href="https://www.andryou.com/scriptsafe/" target="_blank">some documentation for ScriptSafe</a>, including <a href="https://www.andryou.com/scriptsafe/quick-start/" target="_blank">"Getting Started" instructions</a>.</p>
Expand Down
4 changes: 2 additions & 2 deletions js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ function saveCheckbox(id) {
localStorage[id] = document.getElementById(id).checked;
}
function saveElement(id) {
localStorage[id] = $("#"+id).val().replace(/\|/g, '');
localStorage[id] = $("#"+id).val().replace(/[~|]/g, '');
}
function saveList(id) {
localStorage[id] = JSON.stringify($("#"+id).val().split("\n"));
Expand Down Expand Up @@ -498,7 +498,7 @@ function saveOptions() {
userAgents = userAgents.split("\n");
var sanitizedAgent;
for (var i=0, userAgentNum=userAgents.length; i<userAgentNum; i++) {
sanitizedAgent = $.trim(userAgents[i].replace(/\|/g, ''));
sanitizedAgent = $.trim(userAgents[i].replace(/[~|]/g, ''));
if (sanitizedAgent) validUserAgents.push(sanitizedAgent);
}
$("#useragent").val(validUserAgents.join("\n"));
Expand Down
4 changes: 3 additions & 1 deletion js/scriptsafe.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ function genUserAgent(force) {
else if (localStorage['useragentspoof_os'] == 'openbsd64') os = 'X11; U; OpenBSD i686';
else if (localStorage['useragentspoof_os'] == 'openbsd32') os = 'X11; U; OpenBSD i686';
else if (localStorage['useragentspoof_os'] == 'chromeos') os = 'X11; U; CrOS i686 0.13.507';
if (localStorage['useragentspoof'] == 'chrome62')
if (localStorage['useragentspoof'] == 'chrome63')
userAgent = 'Mozilla/5.0 ('+os+') AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36';
else if (localStorage['useragentspoof'] == 'chrome62')
userAgent = 'Mozilla/5.0 ('+os+') AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36';
else if (localStorage['useragentspoof'] == 'chrome55')
userAgent = 'Mozilla/5.0 ('+os+') AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36';
Expand Down
Loading

0 comments on commit a4999de

Please sign in to comment.