Skip to content
Permalink
Browse files

Merged both extensions code-bases:

- Previously the Chrome and Firefox browser addons / extensions were in separate code-bases, however they have now been merged with mitigation's for issues caused by the browsers using separate APIS.
  • Loading branch information
EuanRiggans committed Nov 20, 2019
1 parent 8529153 commit c0345401bb50d858bef9d3a87116a80bc0ca1ac0
Showing with 685 additions and 623 deletions.
  1. +7 −1 README.md
  2. +107 −102 changelog.html
  3. +2 −2 css/style.css
  4. +15 −12 editlist.html
  5. +11 −21 help.html
  6. +0 −9 js/bulkopen.contexts.js
  7. +134 −152 js/bulkopen.js
  8. +8 −3 js/changelog.js
  9. +13 −7 js/editlist.js
  10. +16 −24 js/help.js
  11. +0 −158 js/lists.js
  12. +11 −9 js/newlist.js
  13. +23 −94 js/openingtabs.js
  14. +6 −1 js/settings.js
  15. +294 −0 js/utility.js
  16. +1 −1 manifest.json
  17. +13 −11 newlist.html
  18. +5 −2 openingtabs.html
  19. +18 −12 popup.html
  20. +1 −2 settings.html
@@ -1,2 +1,8 @@
# BulkURLOpener
A Google Chrome Extension that allows the user to open a list of tabs with one click
The Firefox version of the Google Chrome extension of the same name.

# Known Issues

- Close buttons not working. This is because Firefox does not allow a window to be closed by a script, if that window was opened by a script.
- 'Opening Tabs' window does not close. This is caused by the same issue as mentioned above.
- Addon does not open file: or about: urls. (See issue #1)
@@ -11,110 +11,115 @@
</head>

<body>
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Changelog</h4>
<button type="button" class="close" id="closeModal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<h5 class="version">1.5.1</h5>
<p class="notes">Tidied up help page.</p>
<h5 class="version">1.5.0</h5>
<p class="notes">Added setting for user to decide how non-urls should be handled when encountered. User
can choose to either: Open the non-url in a search engine, Ignore the non-url, Attempt to extract
the non-url.</p>
<p class="notes">Added setting so user can decide which search engine should be used if a non-url is
going to be opened in a search engine.</p>
<h5 class="version">1.4.0</h5>
<p class="notes">Added new setting to allow user to choose which tabs should be displayed when the
'Currently opened tabs' setting is selected. Either all opened tabs, or just those in the current
window.</p>
<p class="notes">Fixed bug which would cause the 'Automatically open lists' and 'Enable Night Theme'
options
not to display if no settings object was present in the browser storage.</p>
<h5 class="version">1.3.4</h5>
<p class="notes">Removed deprecated API chrome.tabs.getAllInWindow</p>
<p class="notes">If a user uses Tab Creation Delay, once all tabs are opened the message on the page
will
change to inform the user that all links are opened</p>
<p class="notes">Tidied up tab creation and remove deprecated 'selected' parameter</p>
<h5 class="version">1.3.3</h5>
<p class="notes">Fixed bug which would stop the user from creating more than 10 lists. Causing the list
with
the id 10 to be overwritten with a new list.</p>
<h5 class="version">1.3.2</h5>
<p class="notes">Small code optimization for loading popup load times</p>
<p class="notes">Improved shadow for modals</p>
<h5 class="version">1.3.1</h5>
<p class="notes">Fixed bug where checkboxes would be missing on the settings page if the user had not
saved
settings previously</p>
<p class="notes">Fluent design bootstrap is now provided with the extension package rather than being
loaded
over cdn</p>
<h5 class="version">1.3.0</h5>
<p class="notes">Added a simple night mode</p>
<p class="notes">Added setting that allows users to change their bootstrap theme. Currently only
supports
default bootstrap and fluent design bootstrap.</p>
<h5 class="version">1.2.0</h5>
<p class="notes">Added a setting to automatically open a list when it is selected from the extensions
popup.
(This setting can be overruled by holding the ctrl key before selecting a list from the dropdown)
(User
requested feature)</p>
<p class="notes">Added a setting to change the default list that is loaded when the extension is
launched
(User requested feature)</p>
<p class="notes">Added button on popup to open the extension in a popup window</p>
<p class="notes">Link lists and settings are now stored using JSON this improves the stability of the
extension as more settings are added. Old lists and settings should be automatically converted</p>
<p class="notes">Performance improvements, removed duplicate jQuery selectors to improve performance</p>
<p class="notes">Added a new re-designed icon</p>
<p class="notes">The extension is now open source. You can view the repository <a
href="https://github.com/EuanRiggans/BulkURLOpener">here</a>.</p>
<p class="notes">Updated bootstrap to v4.1.1</p>
<p class="notes">Updated jquery to v3.1.1</p>
<h5 class="version">1.1.4</h5>
<p class="notes">Fixed an issue where many links on the help page would not work correctly</p>
<h5 class="version">1.1.3</h5>
<p class="notes">Fixed a bug where lists without a trailing new line would not open the last link in the
list</p>
<p class="notes">Help page now contains links to get support, report bugs or suggest new features</p>
<h5 class="version">1.1.2</h5>
<p class="notes">Fixed an issue where Vivaldi users would not be able to open more than 9 tabs in one go
</p>
<h5 class="version">1.1.1</h5>
<p class="notes">Fixed tab naming issue when Tab Creation Delay is used</p>
<p class="notes">Removed unnecessary font files to reduce extension size</p>
<h5 class="version">1.1.0:</h5>
<p class="notes">New method of storing lists of URLs. Old lists will be converted automatically</p>
<p class="notes">Added settings page</p>
<p class="notes">Added help page</p>
<p class="notes">Added changelog page</p>
<p class="notes">Added 'Tab Creation Delay' functionality (User requested feature)</p>
<p class="notes">Code optimizations</p>
<h5 class="version">1.0.1:</h5>
<p class="notes">Small code optimization</p>
<h5 class="version">1.0.0:</h5>
<p class="notes">Initial release</p>
</div>
<div class="modal-footer">
<small>If you need any extra info you can get it from this extensions support page on the chrome
extension
store
</small>
</div>
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Changelog</h4>
<button aria-label="Close" class="close" id="closeModal" type="button">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body">
<h5 class="version">1.6.0</h5>
<p class="notes">The browser-based versions of the application are now in a single code-base. So it will be
easier to develop, test and deploy changes.</p>
<h5 class="version">1.5.1</h5>
<p class="notes">Tidied up help page.</p>
<h5 class="version">1.5.0</h5>
<p class="notes">Added setting for user to decide how non-urls should be handled when encountered. User
can choose to either: Open the non-url in a search engine, Ignore the non-url, Attempt to extract
the non-url.</p>
<p class="notes">Added setting so user can decide which search engine should be used if a non-url is
going to be opened in a search engine.</p>
<h5 class="version">1.4.0</h5>
<p class="notes">Added new setting to allow user to choose which tabs should be displayed when the
'Currently opened tabs' setting is selected. Either all opened tabs, or just those in the current
window.</p>
<p class="notes">Fixed bug which would cause the 'Automatically open lists' and 'Enable Night Theme'
options not to display if no settings object was present in the browser storage.</p>
<h5 class="version">1.3.5</h5>
<p class="notes">Fixed broken changelog link</p>
<p class="notes">Help page links are now opened in a new tab</p>
<h5 class="version">1.3.4</h5>
<p class="notes">Addon now exclusively uses the browser API rather than the chrome API</p>
<p class="notes">Tabs are now generally active when opened</p>
<p class="notes">If a user uses Tab Creation Delay, once all tabs are opened the message on the page
will
change to inform the user that all links are opened</p>
<h5 class="version">1.3.3</h5>
<p class="notes">Fixed bug which would stop the user from creating more than 10 lists. Causing the list
with
the id 10 to be overwritten with a new list.</p>
<p class="notes">Addon is now working with Firefox browsers.</p>
<h5 class="version">1.3.2</h5>
<p class="notes">Small code optimization for loading popup load times</p>
<p class="notes">Improved shadow for modals</p>
<h5 class="version">1.3.1</h5>
<p class="notes">Fixed bug where checkboxes would be missing on the settings page if the user had not
saved
settings previously</p>
<p class="notes">Fluent design bootstrap is now provided with the extension package rather than being
loaded
over cdn</p>
<h5 class="version">1.3.0</h5>
<p class="notes">Added a simple night mode</p>
<p class="notes">Added setting that allows users to change their bootstrap theme. Currently only
supports
default bootstrap and fluent design bootstrap.</p>
<h5 class="version">1.2.0</h5>
<p class="notes">Added a setting to automatically open a list when it is selected from the extensions
popup.
(This setting can be overruled by holding the ctrl key before selecting a list from the dropdown)
(User
requested feature)</p>
<p class="notes">Added a setting to change the default list that is loaded when the extension is
launched
(User requested feature)</p>
<p class="notes">Added button on popup to open the extension in a popup window</p>
<p class="notes">Link lists and settings are now stored using JSON this improves the stability of the
extension as more settings are added. Old lists and settings should be automatically converted</p>
<p class="notes">Performance improvements, removed duplicate jQuery selectors to improve performance</p>
<p class="notes">Added a new re-designed icon</p>
<p class="notes">The extension is now open source. You can view the repository <a
href="https://github.com/EuanRiggans/BulkURLOpener">here</a>.</p>
<p class="notes">Updated bootstrap to v4.1.1</p>
<p class="notes">Updated jquery to v3.1.1</p>
<h5 class="version">1.1.4</h5>
<p class="notes">Fixed an issue where many links on the help page would not work correctly</p>
<h5 class="version">1.1.3</h5>
<p class="notes">Fixed a bug where lists without a trailing new line would not open the last link in the
list</p>
<p class="notes">Help page now contains links to get support, report bugs or suggest new features</p>
<h5 class="version">1.1.2</h5>
<p class="notes">Fixed an issue where Vivaldi users would not be able to open more than 9 tabs in one go
</p>
<h5 class="version">1.1.1</h5>
<p class="notes">Fixed tab naming issue when Tab Creation Delay is used</p>
<p class="notes">Removed unnecessary font files to reduce extension size</p>
<h5 class="version">1.1.0:</h5>
<p class="notes">New method of storing lists of URLs. Old lists will be converted automatically</p>
<p class="notes">Added settings page</p>
<p class="notes">Added help page</p>
<p class="notes">Added changelog page</p>
<p class="notes">Added 'Tab Creation Delay' functionality (User requested feature)</p>
<p class="notes">Code optimizations</p>
<h5 class="version">1.0.1:</h5>
<p class="notes">Small code optimization</p>
<h5 class="version">1.0.0:</h5>
<p class="notes">Initial release</p>
</div>
<div class="modal-footer">
<small>If you need any extra info you can get it from this extensions support page on the firefox addons
page
</small>
</div>
</div>
<script src="js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/lists.js" type="text/javascript"></script>
<script src="js/changelog.js" type="text/javascript"></script>
<script type="text/javascript" src="js/custom-styles.js" id="tempStylesheetLoader"></script>
</div>
<script src="js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/utility.js" type="text/javascript"></script>
<script src="js/changelog.js" type="text/javascript"></script>
<script id="tempStylesheetLoader" src="js/custom-styles.js" type="text/javascript"></script>
</body>

</html>
@@ -6,7 +6,7 @@

body {
margin: 10px;
height: 200px;
height: 550px;
padding: 10px;
}

@@ -98,4 +98,4 @@ button {
height: 300px;
margin-bottom: -25px;
}
}
}
@@ -1,18 +1,20 @@
<!DOCTYPE html>
<html lang="en">

<head>
<title>Edit a link list</title>
<link href="css/bootstrap.min.css" rel="stylesheet" id="bootstrap">
<link href="css/font-awesome.min.css" rel="stylesheet" id="font-awesome">
<link href="css/style.css" rel="stylesheet" id="styles">
<link href="css/modalstyles.css" rel="stylesheet">
</head>

<body>
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">Edit a link list</h4>
<button type="button" class="close" id="closeModal" aria-label="Close">
<button aria-label="Close" class="close" id="closeModal" type="button">
<span aria-hidden="true">&times;</span>
</button>
</div>
@@ -21,32 +23,33 @@ <h4 class="modal-title">Edit a link list</h4>
<div class="input-group-prepend">
<span class="input-group-text" id="list-id-addon">Link list ID:</span>
</div>
<input type="text" class="form-control" value="" id="listID" aria-describedby="list-id-addon" disabled>
<input aria-describedby="list-id-addon" class="form-control" disabled id="listID" type="text"
value="">
</div>
<br/>
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text" id="list-name-addon">Link list name:</span>
</div>
<input type="text" class="form-control" placeholder="List name" id="listName"
aria-describedby="list-name-addon">
<input aria-describedby="list-name-addon" class="form-control" id="listName" placeholder="List name"
type="text">
</div>
<br/>
<div class="form-group">
<label for="list">Link list urls:</label>
<textarea class="form-control" rows="5" id="list" autofocus="autofocus"></textarea>
<textarea autofocus="autofocus" class="form-control" id="list" rows="5"></textarea>
</div>
</div>
<div class="modal-footer">
<button class="btn btn-outline-danger" id="closeModalFooter" type="button">Cancel</button>
<button class="btn btn-outline-primary" id="saveList" type="button">Save changes</button>
</div>
</div>
</div>
<script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/lists.js"></script>
<script type="text/javascript" src="js/editlist.js"></script>
<script type="text/javascript" src="js/custom-styles.js" id="tempStylesheetLoader"></script>
<script src="js/jquery-3.3.1.min.js" type="text/javascript"></script>
<script src="js/bootstrap.min.js" type="text/javascript"></script>
<script src="js/utility.js" type="text/javascript"></script>
<script src="js/editlist.js" type="text/javascript"></script>
<script id="tempStylesheetLoader" src="js/custom-styles.js" type="text/javascript"></script>
</body>
</html>

</html>

0 comments on commit c034540

Please sign in to comment.
You can’t perform that action at this time.