Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Latest commit

 

History

History
History
executable file
·
32 lines (28 loc) · 1.13 KB

File metadata and controls

executable file
·
32 lines (28 loc) · 1.13 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/sh
# Used to import upstream changes to the NoScript code that use for request
# rewriting.
# The merging process is roughly this:
# 0. Download noscript xpi's or git checkouts corresponding to the last
# merge version and the current merge version.
# 1. Update the FROM and TO versions appropriately below.
# 2 execute:
# ./utils/diff-noscript.sh > noscript-merge.diff
# cd ./src/chrome/content/code/
# patch -p4 < ../../../../noscript-merge.diff
# 3. Clean up the mess.
# 4. Manually extract the IOUtil, Thread, and IO objects from
# $TO/components/noscriptservice.js and drop them into
# the corresponding js files in ./src/chrome/content/code/.
#
# Note: This whole process can be likely simplified a bit. You
# might be able to get away with simply copying ChannelReplacement.js
# from newer NoScript versions, since I believe we've taken a more
# active ownership of the rest of the files and we've diverged quite
# a bit.
FROM=../noscript-2.0.9.8rc1
TO=../noscript-2.3.7
for i in ./src/chrome/content/code/*.js
do
name=`basename $i`
diff -u $FROM/chrome/content/noscript/$name $TO/chrome/content/noscript/$name
done
Morty Proxy This is a proxified and sanitized view of the page, visit original site.