{"action":"created","issue":{"url":"https://api.github.com/repos/meh/smart-referer/issues/48","repository_url":"https://api.github.com/repos/meh/smart-referer","labels_url":"https://api.github.com/repos/meh/smart-referer/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/meh/smart-referer/issues/48/comments","events_url":"https://api.github.com/repos/meh/smart-referer/issues/48/events","html_url":"https://github.com/meh/smart-referer/pull/48","id":199464857,"number":48,"title":"Add WebExtension port of this add-on","user":{"login":"alexander255","id":246386,"avatar_url":"https://avatars2.githubusercontent.com/u/246386?v=3","gravatar_id":"","url":"https://api.github.com/users/alexander255","html_url":"https://github.com/alexander255","followers_url":"https://api.github.com/users/alexander255/followers","following_url":"https://api.github.com/users/alexander255/following{/other_user}","gists_url":"https://api.github.com/users/alexander255/gists{/gist_id}","starred_url":"https://api.github.com/users/alexander255/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexander255/subscriptions","organizations_url":"https://api.github.com/users/alexander255/orgs","repos_url":"https://api.github.com/users/alexander255/repos","events_url":"https://api.github.com/users/alexander255/events{/privacy}","received_events_url":"https://api.github.com/users/alexander255/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2017-01-09T01:58:17Z","updated_at":"2017-04-06T12:25:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/meh/smart-referer/pulls/48","html_url":"https://github.com/meh/smart-referer/pull/48","diff_url":"https://github.com/meh/smart-referer/pull/48.diff","patch_url":"https://github.com/meh/smart-referer/pull/48.patch"},"body":"Most stuff was rewritten and (if possible) simplified, the only truely original piece of code is the policy engine that processes the whitelist entries.\r\n\r\nAlso contains a newly \"designed\" logo that is used for the toolbar icon requested #27.\r\n\r\nExcept for not preserving the previous settings this add-on does everything the previous iteration of *Smart Referer* did and more!"},"comment":{"url":"https://api.github.com/repos/meh/smart-referer/issues/comments/292157689","html_url":"https://github.com/meh/smart-referer/pull/48#issuecomment-292157689","issue_url":"https://api.github.com/repos/meh/smart-referer/issues/48","id":292157689,"user":{"login":"alexander255","id":246386,"avatar_url":"https://avatars2.githubusercontent.com/u/246386?v=3","gravatar_id":"","url":"https://api.github.com/users/alexander255","html_url":"https://github.com/alexander255","followers_url":"https://api.github.com/users/alexander255/followers","following_url":"https://api.github.com/users/alexander255/following{/other_user}","gists_url":"https://api.github.com/users/alexander255/gists{/gist_id}","starred_url":"https://api.github.com/users/alexander255/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexander255/subscriptions","organizations_url":"https://api.github.com/users/alexander255/orgs","repos_url":"https://api.github.com/users/alexander255/repos","events_url":"https://api.github.com/users/alexander255/events{/privacy}","received_events_url":"https://api.github.com/users/alexander255/received_events","type":"User","site_admin":false},"created_at":"2017-04-06T12:25:00Z","updated_at":"2017-04-06T12:25:00Z","body":"@markraffalo1 @Nutomic @ipatjolvur @ReporterX @smith330 @SMed79 @mcbarky @neckcen @lainverse @pedrompcaetano @melodiem @Gitoffthelawn @Forsaked @klonamy @scribblemaniac\r\n\r\nHi everybody! 🙋‍ \r\n\r\nAs you may have noticed *Smart Referer* is getting a rewrite in preparation of switching to the new WebExtension API that is now offered by Mozilla browsers and may become the only way to distribute add-ons for Firefox in the future. As part of this endeavor we need your feedback! All of you have either contributed (through the issue tracker) or decided to watch this project in the past, so I'll assume you have at least some interest in its well-being and availability in the feature.\r\n(If not then please just ignore this message.)\r\n\r\nHere's what we need you to do:\r\n\r\n## Get the new version\r\n\r\n### Building from source\r\n\r\nIf you can, please build the add-on from source by running these commands (Cygwin/MSYS/BashOnWindows required on Windows):\r\n\r\n * `git clone -b wext --recursive \"https://github.com/meh/smart-referer.git\" \"smart-referer\"` to download the repository\r\n * `cd \"smart-referer\"` to enter the downloaded repository\r\n * `make xpi` to assemble the extension's files\r\n\r\nThis should create a file called *smart-referer.xpi* – don't install it yet!\r\n\r\nList of required packages: `git`, `make`, `zip` & `coreutils`\r\n\r\n### Prebuilt version\r\n\r\nPlease build from source if you can, we want that to work reliably as well. Otherwise you can\r\ndownload a prebuilt version here (do not install it yet, just download!):\r\n\r\nhttps://storage.xmine128.tk/index.php/s/kAgAzzBSdQkfwOD\r\n\r\n## Test the migration to the new version\r\n\r\nPlease follow the guide! Don't just install the XPI! We need actual feedback if things go wrong.\r\n\r\n 1. You will need at least Firefox 51 or newer\r\n 2. Make a backup of the `user.js` file of your current Firefox profile directory\r\n    (you may need it if the migration fails)\r\n 3. Close the browser and **launch it from terminal**\r\n 4. Open the Browser-Console using `Ctrl`+`Shift`+`J`\r\n 5. If you have not done so previously, please disable add-on signature validation:\r\n     * Type `about:config` into the address bar and press enter\r\n     * Acknowledge the warning by pressing the *I will be careful*-button\r\n     * Enter `xpinstall.signatures.required` in the search box\r\n     * Double-click the first entry, so that its value changes to *false* instead of *true*\r\n 7. Install the new version of the extension by dragging it from your file manager onto the browser window\r\n    - Check that messages from *SmartReferer.LegacyPrefs* appear in the terminal window and stuff about a \"preference migration\" is logged in the Browser-Console window\r\n 6. Open the add-on manager by typing `about:addons` into the address bar and clicking on the *Extensions* tab on the left-hand side of the page\r\n 8. Click on *Settings*-button next to *Smart Referer* and verify that all preferences have been properly migrated\r\n 9. Restart your browser\r\n10. Verify that all previous configuration entries are gone:\r\n    - Type `about:config` in the address bar and acknowledge the warning again\r\n    - Check that there are no results when searching for `extensions.smart-referer`\r\n11. Use the network logs in the Browser-Console to verify that the `Referer` values are indeed updated as expected while browsing\r\n    - If you don't know how to do this, please at least [click on this link](https://www.whatismyreferer.com/) and verify that the result looks good\r\n\r\nThat's it thanks for your help!\r\n\r\n## If things go wrong\r\n\r\nIf the migration fails for any reason, then please include a copy/screenshot of the following things in your response:\r\n\r\n * Relevant messages in the Browser-Console\r\n * Output in the terminal window\r\n * Settings of the old add-on version\r\n * Operating system & Browser Version\r\n * Anything else you think may be helpful in getting this fixed\r\n\r\n## If things work as expected\r\n\r\nPlease leave a short message as well, so that we can get a feel for how well it works. Something like:\r\n\r\n> Worked for me! (Firefox 51.0.2 / Windows 7 64-Bit)\r\n\r\nIs enough in this case.\r\n\r\n.\r\n\r\nThanks to everybody participating in this!"}}
{"actor":{"display_login":"alexander255"}}